Files
lilyissillyyy 3745730e16 Fix
2025-09-06 17:44:20 -04:00

23 lines
458 B
JavaScript

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: 1, message });
}
};