forked from Supositware/Haha-Yes
removed useless line
This commit is contained in:
parent
9a410110b3
commit
df6d593213
1 changed files with 3 additions and 5 deletions
|
@ -19,14 +19,12 @@ module.exports = class emoteSayCommand extends Command {
|
||||||
|
|
||||||
async run(message, { text }) {
|
async run(message, { text }) {
|
||||||
let textChar = text.toLowerCase().split('')
|
let textChar = text.toLowerCase().split('')
|
||||||
let i = text.length;
|
|
||||||
let emojiArray = [];
|
let emojiArray = [];
|
||||||
message.delete();
|
for (let i = 0; i < text.length; i++) {
|
||||||
for (i = 0; i < text.length; i++) {
|
|
||||||
emojiArray[i] = emojiCharacters[textChar[i]];
|
emojiArray[i] = emojiCharacters[textChar[i]];
|
||||||
}
|
}
|
||||||
let finalText = emojiArray.join("");
|
message.delete();
|
||||||
message.say(finalText)
|
message.say(emojiArray.join(""))
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue