mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Finish Up That Change
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user