mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
2 commits
80fa59a433
...
8c6ffb963e
Author | SHA1 | Date | |
---|---|---|---|
|
8c6ffb963e | ||
|
548969daba |
1 changed files with 5 additions and 5 deletions
|
@ -56,7 +56,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!");
|
||||
}
|
||||
|
@ -68,9 +68,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: []}});
|
||||
}
|
||||
}
|
||||
}),
|
||||
|
@ -80,9 +80,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue