-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ae707d
commit 0f34dd1
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const config = require("../config.json"); | ||
const discord = require("../discord.js"); | ||
|
||
module.exports = { | ||
aliases: ["u"], | ||
description: "username error help message", | ||
run: (client, msg, args) => { | ||
msg.channel.createMessage( | ||
discord.embed( | ||
msg, | ||
`While the site itself is not broken, searching for players may return the following error. | ||
\`\`\`No user with the name '<ign>' was found\`\`\` | ||
This is due to current issues with an API we use for resolving UUIDs from usernames. | ||
While we patiently await a fix, **please search using a player's UUID instead of their username**.`, | ||
"No username found error", | ||
[ | ||
{ | ||
name: `How do I find a UUID?`, | ||
value: "If googling `minecraft uuid` is too hard for you, we suggest using https://mcuuid.net/ to find a player's UUID", | ||
}, | ||
] | ||
) | ||
); | ||
}, | ||
}; |