mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 18:21:25 +03:00
Create commands
This commit is contained in:
17
src/commands/user/create.js
Normal file
17
src/commands/user/create.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const { UserCommand } = require('@eartharoid/dbf');
|
||||
|
||||
module.exports = class CreateUserCommand extends UserCommand {
|
||||
constructor(client, options) {
|
||||
const nameLocalizations = {};
|
||||
client.i18n.locales.forEach(l => (nameLocalizations[l] = client.i18n.getMessage(l, 'commands.user.create.name')));
|
||||
|
||||
super(client, {
|
||||
...options,
|
||||
dmPermission: false,
|
||||
name: nameLocalizations['en-GB'],
|
||||
nameLocalizations,
|
||||
});
|
||||
}
|
||||
|
||||
async run(interaction) { }
|
||||
};
|
Reference in New Issue
Block a user