DiscordTickets/src/commands/slash/claim.js

19 lines
565 B
JavaScript
Raw Normal View History

2022-08-08 23:55:09 +03:00
const { SlashCommand } = require('@eartharoid/dbf');
module.exports = class ClaimSlashCommand extends SlashCommand {
constructor(client, options) {
2022-10-26 20:58:46 +03:00
const name = 'claim';
2022-08-08 23:55:09 +03:00
super(client, {
...options,
2022-10-26 20:58:46 +03:00
description: client.i18n.getMessage(null, `commands.slash.${name}.description`),
descriptionLocalizations: client.i18n.getAllMessages(`commands.slash.${name}.description`),
2022-08-08 23:55:09 +03:00
dmPermission: false,
2022-10-26 20:58:46 +03:00
name,
nameLocalizations: client.i18n.getAllMessages(`commands.slash.${name}.name`),
2022-08-08 23:55:09 +03:00
});
}
async run(interaction) {
// tickets/manager.js
}
2022-08-08 23:55:09 +03:00
};