Finish Up That Change

This commit is contained in:
Daniel Odendahl Jr
2017-04-02 03:13:37 +00:00
parent 8091b1229a
commit 0c464d7b4c
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class OsuCommand extends commando.Command {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return; if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
} }
console.log(`[Command] ${message.content}`); console.log(`[Command] ${message.content}`);
let usernameToSearch = encodeURI(args.username); let usernameToSearch = args.username;
try { try {
let response = await request let response = await request
.get('https://osu.ppy.sh/api/get_user') .get('https://osu.ppy.sh/api/get_user')