Add Zero-Width-Space to all 'Say' and 'Translate' Commands

This commit is contained in:
Daniel Odendahl Jr
2017-04-07 22:35:42 +00:00
parent ed1f15a4ce
commit 03695dc4a2
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -35,6 +35,6 @@ module.exports = class PirateCommand extends commando.Command {
const turnToPirate = args.text;
const pirate = pirateSpeak.translate(turnToPirate);
if (pirate.length > 1950) return message.say(':x: Error! Your message is too long!');
return message.say(pirate);
return message.say(`\u180E${pirate}`);
}
};
+1 -1
View File
@@ -23,6 +23,6 @@ module.exports = class ReverseCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
const stringToReverse = args.text;
const reversed = stringToReverse.split('').reverse().join('');
return message.say(reversed);
return message.say(`\u180E${reversed}`);
}
};
+1 -1
View File
@@ -30,6 +30,6 @@ module.exports = class SayCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
const copycat = args.text;
await message.delete();
return message.say(copycat);
return message.say(`\u180E${copycat}`);
}
};
+1 -1
View File
@@ -34,6 +34,6 @@ module.exports = class ShuffleCommand extends commando.Command {
}
console.log(`[Command] ${message.content}`);
const thingToShuffle = args.text;
return message.say(thingToShuffle.shuffle());
return message.say(`\u180E${thingToShuffle.shuffle()}`);
}
};
+1 -1
View File
@@ -30,6 +30,6 @@ module.exports = class TemmieCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
const thingToTranslate = args.text;
const temmized = temmize(thingToTranslate);
return message.say(temmized);
return message.say(`\u180E${temmized}`);
}
};
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class YodaCommand extends commando.Command {
.query({
sentence: turnToYoda
});
return message.say(response.text);
return message.say(`\u180E${response.text}`);
}
catch (err) {
return message.say(':x: Error! Something went wrong!');
+1 -1
View File
@@ -29,6 +29,6 @@ module.exports = class ZalgoCommand extends commando.Command {
}
console.log(`[Command] ${message.content}`);
const zalgoified = zalgo(args.text);
return message.say(zalgoified);
return message.say(`\u180E${zalgoified}`);
}
};