aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-05 17:48:37 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-05 17:48:37 -0400
commitc238b0279c7686ca45506b0909e376f241cf0e30 (patch)
tree3d7c06f585421fc2a3dede9203118357d00bef9f
parent81d69f983983ac71dbdbd5f13e2f2d8ddc35dced (diff)
downloadtanzanite-c238b0279c7686ca45506b0909e376f241cf0e30.tar.gz
tanzanite-c238b0279c7686ca45506b0909e376f241cf0e30.tar.bz2
tanzanite-c238b0279c7686ca45506b0909e376f241cf0e30.zip
bestower proofed
-rw-r--r--src/commands/leveling/setLevel.ts2
-rw-r--r--src/commands/leveling/setXp.ts2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/commands/leveling/setLevel.ts b/src/commands/leveling/setLevel.ts
index 108b5d2..f312356 100644
--- a/src/commands/leveling/setLevel.ts
+++ b/src/commands/leveling/setLevel.ts
@@ -55,6 +55,8 @@ export default class SetLevelCommand extends BushCommand {
{ user, level }: { user: User; level: number }
): Promise<unknown> {
if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be run in a guild.`);
+ if (message.author.id === '496409778822709251')
+ return await message.util.reply(`${util.emojis.error} This command is Bestower proof.`);
if (!user.id) throw new Error('user.id is null');
const [levelEntry] = await Level.findOrBuild({
diff --git a/src/commands/leveling/setXp.ts b/src/commands/leveling/setXp.ts
index 7aff8e7..fdfd74f 100644
--- a/src/commands/leveling/setXp.ts
+++ b/src/commands/leveling/setXp.ts
@@ -58,6 +58,8 @@ export default class SetXpCommand extends BushCommand {
{ user, xp }: { user: User; xp: number }
): Promise<unknown> {
if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be run in a guild.`);
+ if (message.author.id === '496409778822709251')
+ return await message.util.reply(`${util.emojis.error} This command is Bestower proof.`);
if (!user.id) throw new Error('user.id is null');
const [levelEntry] = await Level.findOrBuild({