aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/punishmentFooter.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-26 18:45:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-26 18:45:31 -0400
commitcca0b7a03bcd61af12b7f9bff51276f6c70beeb3 (patch)
tree2b2adebc166ac033520e5b582773e63fbdc5ddb9 /src/commands/config/punishmentFooter.ts
parent13ba1ad552047eb9386e91d542a975c4bef58b08 (diff)
downloadtanzanite-cca0b7a03bcd61af12b7f9bff51276f6c70beeb3.tar.gz
tanzanite-cca0b7a03bcd61af12b7f9bff51276f6c70beeb3.tar.bz2
tanzanite-cca0b7a03bcd61af12b7f9bff51276f6c70beeb3.zip
refactor: this.client.util -> util
Diffstat (limited to 'src/commands/config/punishmentFooter.ts')
-rw-r--r--src/commands/config/punishmentFooter.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/config/punishmentFooter.ts b/src/commands/config/punishmentFooter.ts
index 6b2759a..eeac6c1 100644
--- a/src/commands/config/punishmentFooter.ts
+++ b/src/commands/config/punishmentFooter.ts
@@ -42,11 +42,11 @@ export default class PunishmentFooterCommand extends BushCommand {
await message.guild.setSetting('punishmentEnding', args.ending || null);
if (args.ending)
return await message.util.send({
- content: `${
- this.client.util.emojis.success
- } Changed the server's punishment footer to \n\`\`\`${Util.cleanCodeBlockContent(args.ending)}\`\`\`.`,
+ content: `${util.emojis.success} Changed the server's punishment footer to \n\`\`\`${Util.cleanCodeBlockContent(
+ args.ending
+ )}\`\`\`.`,
allowedMentions: AllowedMentions.none()
});
- else return await message.util.send(`${this.client.util.emojis.success} Removed he server's punishment footer.`);
+ else return await message.util.send(`${util.emojis.success} Removed he server's punishment footer.`);
}
}