cleanup
This commit is contained in:
@ -16,7 +16,7 @@ export class UserCommand extends Command {
|
||||
// Register Chat Input and Context Menu command
|
||||
public override registerApplicationCommands(registry: Command.Registry) {
|
||||
registry.registerChatInputCommand((builder) =>
|
||||
builder //
|
||||
builder
|
||||
.setName(this.name)
|
||||
.setDescription(this.description)
|
||||
.addStringOption((option) =>
|
||||
|
@ -8,11 +8,7 @@ import { Message } from 'discord.js';
|
||||
export class UserCommand extends Command {
|
||||
// Register Chat Input and Context Menu command
|
||||
public override registerApplicationCommands(registry: Command.Registry) {
|
||||
registry.registerChatInputCommand((builder) =>
|
||||
builder //
|
||||
.setName(this.name)
|
||||
.setDescription(this.description)
|
||||
);
|
||||
registry.registerChatInputCommand((builder) => builder.setName(this.name).setDescription(this.description));
|
||||
}
|
||||
|
||||
// Message command
|
||||
|
@ -16,7 +16,7 @@ export class UserCommand extends Command {
|
||||
// Register Chat Input and Context Menu command
|
||||
public override registerApplicationCommands(registry: Command.Registry) {
|
||||
registry.registerChatInputCommand((builder) =>
|
||||
builder //
|
||||
builder
|
||||
.setName(this.name)
|
||||
.setDescription(this.description)
|
||||
.addStringOption((option) => option.setName('prompt').setDescription('Make a picture!').setRequired(true))
|
||||
|
@ -8,11 +8,7 @@ import { Message } from 'discord.js';
|
||||
export class UserCommand extends Command {
|
||||
// Register Chat Input and Context Menu command
|
||||
public override registerApplicationCommands(registry: Command.Registry) {
|
||||
registry.registerChatInputCommand((builder) =>
|
||||
builder //
|
||||
.setName(this.name)
|
||||
.setDescription(this.description)
|
||||
);
|
||||
registry.registerChatInputCommand((builder) => builder.setName(this.name).setDescription(this.description));
|
||||
}
|
||||
|
||||
// Message command
|
||||
|
Reference in New Issue
Block a user