mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-03 11:04:29 +00:00
Remove unused message variables in commands
This commit is contained in:
@ -6,14 +6,12 @@ export default {
|
||||
description: 'Bot Status',
|
||||
category: 'info',
|
||||
async execute(interaction: any, client: RadioClient) {
|
||||
let message: any = {};
|
||||
|
||||
if(!client.user) return interaction.reply({
|
||||
content: client.messages.emojis["error"] + client.messages.maintenance,
|
||||
ephemeral: true
|
||||
});
|
||||
|
||||
message.statusTitle = client.messages.statusTitle.replace("%client.user.username%", client.user.username);
|
||||
let uptime = client.funcs.msToTime(client.uptime || 0);
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
|
Reference in New Issue
Block a user