Update interactionCreate event

This commit is contained in:
Christer Warén 2021-09-16 02:17:14 +03:00
parent 126d5e9ba2
commit 00f6ee71e0

View File

@ -6,7 +6,7 @@ module.exports = {
if (!permissions.has('VIEW_CHANNEL')) return;
if (!permissions.has('EMBED_LINKS')) return interaction.reply({
content: client.messages.noPermsEmbed,
content: client.messageEmojis["error"] + client.messages.noPermsEmbed,
ephemeral: true
});
@ -19,7 +19,7 @@ module.exports = {
command.execute(interaction, client);
} catch (error) {
interaction.reply({
content: client.messages.runningCommandFailed,
content: client.messageEmojis["error"] + client.messages.runningCommandFailed,
ephemeral: true
});
console.error(error);
@ -33,7 +33,7 @@ module.exports = {
command.execute(interaction, client, command);
} catch (error) {
interaction.reply({
content: client.messages.runningCommandFailed,
content: client.messageEmojis["error"] + client.messages.runningCommandFailed,
ephemeral: true
});
console.error(error);