From 548969daba8b2d02563cba13c9d988a4b613aeaf Mon Sep 17 00:00:00 2001 From: WatDuhHekBro Date: Wed, 21 Apr 2021 12:38:52 -0500 Subject: [PATCH] Added non-pinging mention to whois --- src/commands/fun/whois.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/fun/whois.ts b/src/commands/fun/whois.ts index 7950ed6..e152416 100644 --- a/src/commands/fun/whois.ts +++ b/src/commands/fun/whois.ts @@ -50,7 +50,7 @@ export default new NamedCommand({ const id = author.id; if (id in registry) { - send(registry[id]); + send(`${author} ${registry[id]}`, {allowedMentions: {parse: []}}); } else { send("You haven't been added to the registry yet!"); } @@ -62,9 +62,9 @@ export default new NamedCommand({ const id = user.id; if (id in registry) { - send(registry[id]); + send(`${user} ${registry[id]}`, {allowedMentions: {parse: []}}); } else { - send(`\`${user.tag}\` hasn't been added to the registry yet!`); + send(`${user} hasn't been added to the registry yet!`, {allowedMentions: {parse: []}}); } } }), @@ -74,9 +74,9 @@ export default new NamedCommand({ if (typeof user !== "string") { if (user.id in registry) { - send(registry[user.id]); + send(`${user} ${registry[user.id]}`, {allowedMentions: {parse: []}}); } else { - send(`\`${user.tag}\` hasn't been added to the registry yet!`); + send(`${user} hasn't been added to the registry yet!`, {allowedMentions: {parse: []}}); } } else { send(user);