Compare commits

..

No commits in common. "8c6ffb963e9b200a6c3ee96c31569fe52c32a848" and "80fa59a4336324bee3c7f2f7f4442311af697179" have entirely different histories.

View file

@ -56,7 +56,7 @@ export default new NamedCommand({
const id = author.id; const id = author.id;
if (id in registry) { if (id in registry) {
send(`${author} ${registry[id]}`, {allowedMentions: {parse: []}}); send(registry[id]);
} else { } else {
send("You haven't been added to the registry yet!"); send("You haven't been added to the registry yet!");
} }
@ -68,9 +68,9 @@ export default new NamedCommand({
const id = user.id; const id = user.id;
if (id in registry) { if (id in registry) {
send(`${user} ${registry[id]}`, {allowedMentions: {parse: []}}); send(registry[id]);
} else { } else {
send(`${user} hasn't been added to the registry yet!`, {allowedMentions: {parse: []}}); send(`\`${user.tag}\` hasn't been added to the registry yet!`);
} }
} }
}), }),
@ -80,9 +80,9 @@ export default new NamedCommand({
if (typeof user !== "string") { if (typeof user !== "string") {
if (user.id in registry) { if (user.id in registry) {
send(`${user} ${registry[user.id]}`, {allowedMentions: {parse: []}}); send(registry[user.id]);
} else { } else {
send(`${user} hasn't been added to the registry yet!`, {allowedMentions: {parse: []}}); send(`\`${user.tag}\` hasn't been added to the registry yet!`);
} }
} else { } else {
send(user); send(user);