aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush/report.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-05 22:56:44 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-05 22:56:44 -0400
commit7894d181d4863e3031c3f7721c345077cc5bc613 (patch)
tree19ab9bfad9de16cc5edd4b1e9e7730c4ec515aed /src/commands/moulberry-bush/report.ts
parent7824c911806e368f6a1bea7f6b55d1f470b755d1 (diff)
downloadtanzanite-7894d181d4863e3031c3f7721c345077cc5bc613.tar.gz
tanzanite-7894d181d4863e3031c3f7721c345077cc5bc613.tar.bz2
tanzanite-7894d181d4863e3031c3f7721c345077cc5bc613.zip
add more mappings
Diffstat (limited to 'src/commands/moulberry-bush/report.ts')
-rw-r--r--src/commands/moulberry-bush/report.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commands/moulberry-bush/report.ts b/src/commands/moulberry-bush/report.ts
index 13ef2b6..6d1203c 100644
--- a/src/commands/moulberry-bush/report.ts
+++ b/src/commands/moulberry-bush/report.ts
@@ -4,6 +4,7 @@ import {
clientSendAndPermCheck,
colors,
emojis,
+ mappings,
timestampAndDelta,
type ArgType,
type CommandMessage
@@ -54,11 +55,12 @@ export default class ReportCommand extends BushCommand {
return await message.util.reply(`${emojis.error} This command can only be used in servers where reporting is enabled.`);
if (!member) return await message.util.reply(`${emojis.error} Choose someone to report`);
- if (member.user.id === '322862723090219008')
+ if (member.user.id === mappings.users['IRONM00N'])
return await message.util.reply({
content: `Thank you for your report! We take these allegations very seriously and have reported <@${member.user.id}> to the FBI!`,
allowedMentions: AllowedMentions.none()
});
+
if (member.user.bot)
return await message.util.reply(`${emojis.error} You cannot report a bot <:WeirdChamp:756283321301860382>.`);