mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix some more
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = class WattpadCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let queryBook = encodeURI(args.book);
|
||||
let queryBook = args.book;
|
||||
try {
|
||||
let response = await request
|
||||
.get('https://api.wattpad.com:443/v4/stories')
|
||||
|
||||
@@ -27,7 +27,7 @@ module.exports = class YouTubeCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let videoToSearch = encodeURI(args.video);
|
||||
let videoToSearch = args.video;
|
||||
try {
|
||||
let response = await request
|
||||
.get('https://www.googleapis.com/youtube/v3/search')
|
||||
|
||||
Reference in New Issue
Block a user