diff --git a/commands/search/imdb.js b/commands/search/imdb.js index 84aefab1..4e77ac38 100644 --- a/commands/search/imdb.js +++ b/commands/search/imdb.js @@ -28,7 +28,7 @@ module.exports = class IMDBCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES', 'EMBED_LINKS'])) return; } console.log(`[Command] ${message.content}`); - let queryMovie = encodeURI(args.movie); + let queryMovie = args.movie; try { let response = await request .get(`http://www.omdbapi.com/`) diff --git a/commands/textedit/yoda.js b/commands/textedit/yoda.js index 47794b9a..511c246e 100644 --- a/commands/textedit/yoda.js +++ b/commands/textedit/yoda.js @@ -23,7 +23,7 @@ module.exports = class YodaCommand extends commando.Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } console.log(`[Command] ${message.content}`); - let turnToYoda = encodeURI(args.text); + let turnToYoda = args.text; try { let response = await request .get('https://yoda.p.mashape.com/yoda')