aboutsummaryrefslogtreecommitdiff
path: root/src/commands/skyblock-reborn
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-26 18:47:13 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-26 18:47:13 -0400
commit80d5b5b11ae261945dc725a0a80115922003afcf (patch)
tree16c9f251b4d53456b4b5340c0203d35fd5870859 /src/commands/skyblock-reborn
parentcca0b7a03bcd61af12b7f9bff51276f6c70beeb3 (diff)
downloadtanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.tar.gz
tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.tar.bz2
tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.zip
refactor: this.client -> client
Diffstat (limited to 'src/commands/skyblock-reborn')
-rw-r--r--src/commands/skyblock-reborn/chooseColorCommand.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/skyblock-reborn/chooseColorCommand.ts b/src/commands/skyblock-reborn/chooseColorCommand.ts
index f80d2ae..344fa60 100644
--- a/src/commands/skyblock-reborn/chooseColorCommand.ts
+++ b/src/commands/skyblock-reborn/chooseColorCommand.ts
@@ -120,7 +120,7 @@ export default class ChooseColorCommand extends BushCommand {
}
public async exec(message: BushMessage | BushSlashMessage, args: { color: Role | RoleResolvable }): Promise<unknown> {
- if (message.guild.id != this.client.consts.mappings.guilds.sbr) {
+ if (message.guild.id != client.consts.mappings.guilds.sbr) {
return await message.util.reply(`${util.emojis.error} This command can only be run in Skyblock: Reborn.`);
}
const allowedRoles: Snowflake[] = [