Remove some encodeURI's

This commit is contained in:
Daniel Odendahl Jr
2017-04-02 03:09:32 +00:00
parent b3ff627c17
commit 9a017fa209
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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/`)
+1 -1
View File
@@ -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')