remove deprecated attribute
This commit is contained in:
1 file changed
+1
-1
@@ -50,7 +50,7 @@ class LinesPoliceCadBot extends Client {
|
|||||||
};
|
};
|
||||||
let cmd = client.commands.get(command);
|
let cmd = client.commands.get(command);
|
||||||
try {
|
try {
|
||||||
cmd.SlashCommand.run(this, interaction, args, { GuildDB }, start); // start is only used in ping / stats command
|
cmd.SlashCommand.run(this, interaction, args, { GuildDB });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setDescription(`**Internal Error:**\nUh Oh D: Its not you, its me.\nThis command has crashed\nContact the Developers`)
|
.setDescription(`**Internal Error:**\nUh Oh D: Its not you, its me.\nThis command has crashed\nContact the Developers`)
|
||||||
|
|||||||
Reference in new issue
Block a user