aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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({