mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-03 03:44:31 +00:00
Move emojis to messages variable
This commit is contained in:
@ -7,7 +7,7 @@ export default {
|
||||
|
||||
if(client.config.maintenanceMode){
|
||||
return interaction.reply({
|
||||
content: client.messageEmojis["error"] + client.messages.maintenance,
|
||||
content: client.messages.emojis["error"] + client.messages.maintenance,
|
||||
ephemeral: true
|
||||
});
|
||||
}
|
||||
@ -16,7 +16,7 @@ export default {
|
||||
if (!permissions.has(PermissionFlagsBits.ViewChannel)) return;
|
||||
|
||||
if (!permissions.has(PermissionFlagsBits.EmbedLinks)) return interaction.reply({
|
||||
content: client.messageEmojis["error"] + client.messages.noPermsEmbed,
|
||||
content: client.messages.emojis["error"] + client.messages.noPermsEmbed,
|
||||
ephemeral: true
|
||||
});
|
||||
|
||||
@ -29,7 +29,7 @@ export default {
|
||||
command.execute(interaction, client);
|
||||
} catch (error) {
|
||||
interaction.reply({
|
||||
content: client.messageEmojis["error"] + client.messages.runningCommandFailed,
|
||||
content: client.messages.emojis["error"] + client.messages.runningCommandFailed,
|
||||
ephemeral: true
|
||||
});
|
||||
console.error(error);
|
||||
@ -43,7 +43,7 @@ export default {
|
||||
command.execute(interaction, client, command);
|
||||
} catch (error) {
|
||||
interaction.reply({
|
||||
content: client.messageEmojis["error"] + client.messages.runningCommandFailed,
|
||||
content: client.messages.emojis["error"] + client.messages.runningCommandFailed,
|
||||
ephemeral: true
|
||||
});
|
||||
console.error(error);
|
||||
|
@ -4,7 +4,6 @@ import Radio from "../classes/Radio";
|
||||
import Stations from "../classes/Stations";
|
||||
import Streamer from "../classes/Streamer";
|
||||
import Statistics from "../classes/Statistics";
|
||||
import { emojis } from "../emojis"
|
||||
import commands from "../commands";
|
||||
|
||||
export default {
|
||||
@ -65,9 +64,6 @@ export default {
|
||||
client.statistics = new Statistics();
|
||||
client.statistics.calculateGlobal(client);
|
||||
|
||||
/*EMOJIS*/
|
||||
emojis.execute(client);
|
||||
|
||||
/*COMMANDS*/
|
||||
commands.execute(client);
|
||||
|
||||
|
Reference in New Issue
Block a user