diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-30 17:31:13 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-30 17:31:13 -0400 |
commit | 9b5e4a0afef33927ba81032cedaeecf112991f2a (patch) | |
tree | 0bae3f9617483fff7a86206918c1afc7e6a6c2ce /src | |
parent | 42d2e2bf01b5debd4ecf605297f925ad5da7deb3 (diff) | |
download | tanzanite-9b5e4a0afef33927ba81032cedaeecf112991f2a.tar.gz tanzanite-9b5e4a0afef33927ba81032cedaeecf112991f2a.tar.bz2 tanzanite-9b5e4a0afef33927ba81032cedaeecf112991f2a.zip |
comment out etc
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/config/levelRoles.ts | 118 | ||||
-rw-r--r-- | src/lib/utils/BushConstants.ts | 3 | ||||
-rw-r--r-- | src/listeners/custom/bushLevelUpdate.ts | 30 |
3 files changed, 76 insertions, 75 deletions
diff --git a/src/commands/config/levelRoles.ts b/src/commands/config/levelRoles.ts index df63914..d27c7a0 100644 --- a/src/commands/config/levelRoles.ts +++ b/src/commands/config/levelRoles.ts @@ -1,61 +1,61 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; +// import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; -export default class LevelRolesCommand extends BushCommand { - public constructor() { - super('levelRole', { - aliases: ['levelrole', 'levelroles', 'lr'], - category: 'config', - description: { - content: 'Command description.', - usage: 'levelrole <role> <level>', - examples: ['levelrole 1 2'] - }, - args: [ - { - id: 'role', - type: 'role', - prompt: { - start: 'What would you like to set your first argument to be?', - retry: '{error} Pick a valid argument.', - optional: false - } - }, - { - id: 'level', - type: 'integer', - prompt: { - start: 'What would you like to set your second argument to be?', - retry: '{error} Pick a valid argument.', - optional: false - } - } - ], - slash: true, - slashOptions: [ - { - name: 'role', - description: 'What would you like to set your first argument to be?', - type: 'STRING', - required: true - }, - { - name: 'level', - description: 'What would you like to set your second argument to be?', - type: 'STRING', - required: true - } - ], - channel: 'guild', - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD', 'MANAGE_ROLES'] - }); - } +// export default class LevelRolesCommand extends BushCommand { +// public constructor() { +// super('levelRole', { +// aliases: ['levelrole', 'levelroles', 'lr'], +// category: 'config', +// description: { +// content: 'Command description.', +// usage: 'levelrole <role> <level>', +// examples: ['levelrole 1 2'] +// }, +// args: [ +// { +// id: 'role', +// type: 'role', +// prompt: { +// start: 'What would you like to set your first argument to be?', +// retry: '{error} Pick a valid argument.', +// optional: false +// } +// }, +// { +// id: 'level', +// type: 'integer', +// prompt: { +// start: 'What would you like to set your second argument to be?', +// retry: '{error} Pick a valid argument.', +// optional: false +// } +// } +// ], +// slash: true, +// slashOptions: [ +// { +// name: 'role', +// description: 'What would you like to set your first argument to be?', +// type: 'STRING', +// required: true +// }, +// { +// name: 'level', +// description: 'What would you like to set your second argument to be?', +// type: 'STRING', +// required: true +// } +// ], +// channel: 'guild', +// clientPermissions: ['SEND_MESSAGES'], +// userPermissions: ['SEND_MESSAGES', 'MANAGE_GUILD', 'MANAGE_ROLES'] +// }); +// } - public override async exec( - message: BushMessage | BushSlashMessage, - args: { required_argument: string; optional_argument: string } - ): Promise<unknown> { - return await message.util.reply(`${util.emojis.error} Do not use the template command.`); - args; - } -} +// public override async exec( +// message: BushMessage | BushSlashMessage, +// args: { required_argument: string; optional_argument: string } +// ): Promise<unknown> { +// return await message.util.reply(`${util.emojis.error} Do not use the template command.`); +// args; +// } +// } diff --git a/src/lib/utils/BushConstants.ts b/src/lib/utils/BushConstants.ts index f085d26..68c0951 100644 --- a/src/lib/utils/BushConstants.ts +++ b/src/lib/utils/BushConstants.ts @@ -229,7 +229,8 @@ export class BushConstants { MANAGE_THREADS: { name: 'Manage Threads', important: true }, USE_PUBLIC_THREADS: { name: 'Use public Threads', important: false }, USE_PRIVATE_THREADS: { name: 'Use Private Threads', important: false }, - USE_EXTERNAL_STICKERS: { name: 'Use External Stickers', important: false } + USE_EXTERNAL_STICKERS: { name: 'Use External Stickers', important: false }, + START_EMBEDDED_ACTIVITIES: { name: 'Start Activities', important: false } }, // prettier-ignore diff --git a/src/listeners/custom/bushLevelUpdate.ts b/src/listeners/custom/bushLevelUpdate.ts index 0b7ebfa..0e24309 100644 --- a/src/listeners/custom/bushLevelUpdate.ts +++ b/src/listeners/custom/bushLevelUpdate.ts @@ -1,17 +1,17 @@ -import { BushListener } from '../../lib'; -import { BushClientEvents } from '../../lib/extensions/discord.js/BushClientEvents'; +// import { BushListener } from '../../lib'; +// import { BushClientEvents } from '../../lib/extensions/discord.js/BushClientEvents'; -export default class BushLevelUpdateListener extends BushListener { - public constructor() { - super('bushLevelUpdate', { - emitter: 'client', - event: 'bushLevelUpdate', - category: 'custom' - }); - } +// export default class BushLevelUpdateListener extends BushListener { +// public constructor() { +// super('bushLevelUpdate', { +// emitter: 'client', +// event: 'bushLevelUpdate', +// category: 'custom' +// }); +// } - // eslint-disable-next-line @typescript-eslint/no-unused-vars - public override async exec(...[member, oldLevel, newLevel, currentXp]: BushClientEvents['bushLevelUpdate']) { - // - } -} +// // eslint-disable-next-line @typescript-eslint/no-unused-vars +// public override async exec(...[member, oldLevel, newLevel, currentXp]: BushClientEvents['bushLevelUpdate']) { +// // +// } +// } |