mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -17,6 +17,6 @@ module.exports = class FeedbackCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { message }) {
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 'feedback', message });
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 1, message });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -18,6 +18,6 @@ module.exports = class ReportAbuseCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { message }) {
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 'abuse', message });
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 3, message });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -18,6 +18,6 @@ module.exports = class ReportBugCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { message }) {
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 'bug', message });
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 0, message });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -18,6 +18,6 @@ module.exports = class SuggestCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { message }) {
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 'suggestion', message });
|
||||
return this.client.registry.commands.get('report').run(msg, { reason: 2, message });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user