mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "8c6ffb963e9b200a6c3ee96c31569fe52c32a848" and "80fa59a4336324bee3c7f2f7f4442311af697179" have entirely different histories.
8c6ffb963e
...
80fa59a433
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(`${author} ${registry[id]}`, {allowedMentions: {parse: []}});
|
||||
send(registry[id]);
|
||||
} 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(`${user} ${registry[id]}`, {allowedMentions: {parse: []}});
|
||||
send(registry[id]);
|
||||
} 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 (user.id in registry) {
|
||||
send(`${user} ${registry[user.id]}`, {allowedMentions: {parse: []}});
|
||||
send(registry[user.id]);
|
||||
} 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 {
|
||||
send(user);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue