Add a bunch of report shortcut subcommands

This commit is contained in:
lilyissillyyy
2025-09-06 17:38:12 -04:00
parent 4932586862
commit d405acafd3
7 changed files with 94 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
const Command = require('../../framework/Command');
module.exports = class FeedbackCommand extends Command {
constructor(client) {
super(client, {
name: 'feedback',
group: 'util-public',
description: 'Shortcut to send feedback.',
guarded: true,
args: [
{
key: 'message',
type: 'string'
}
]
});
}
run(msg, { message }) {
return this.client.registry.commands.get('report').run(msg, { reason: 'feedback', message });
}
};