WIP: [#1]: Athena Rewrite #1
@@ -13,7 +13,7 @@ import { CreateDefaultEmbed, SetSeverity } from '../../utils';
|
|||||||
.setContexts(Constants.InteractionContextType.Guild)
|
.setContexts(Constants.InteractionContextType.Guild)
|
||||||
.setCommandType(Constants.ApplicationCommandType.ChatInput)
|
.setCommandType(Constants.ApplicationCommandType.ChatInput)
|
||||||
.setMemberPermission(Constants.PermissionFlagsBits.ManageChannels)
|
.setMemberPermission(Constants.PermissionFlagsBits.ManageChannels)
|
||||||
.addStringOption({ name: 'name', description: 'The new general chat name.', required: true })
|
.addStringOption({ name: 'name', description: 'The new general chat name.', required: true, max_length: 32 })
|
||||||
)
|
)
|
||||||
class RenameGeneralCommand extends Command<CommandClient> {
|
class RenameGeneralCommand extends Command<CommandClient> {
|
||||||
cooldown = 360;
|
cooldown = 360;
|
||||||
|
|||||||
Reference in New Issue
Block a user