bugfix
This commit is contained in:
parent
55d9303d5d
commit
e5f5928f4c
@ -52,6 +52,7 @@ class ImportCommand extends SlashCommand {
|
||||
async execute(invoker, { version, overwrite }) {
|
||||
const { subcommand, guild } = invoker;
|
||||
let settings = await guild.settings();
|
||||
if (!settings._imported) settings._imported = {};
|
||||
if (settings._imported[subcommand.name]) return { emoji: 'failure', index: 'COMMAND_IMPORT_IMPORTED', params: { thing: Util.capitalise(subcommand.name) } };
|
||||
version = version?.value || '3';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user