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 }) {
|
||||
let textChar = text.toLowerCase().split('')
|
||||
let i = text.length;
|
||||
let emojiArray = [];
|
||||
message.delete();
|
||||
for (i = 0; i < text.length; i++) {
|
||||
for (let i = 0; i < text.length; i++) {
|
||||
emojiArray[i] = emojiCharacters[textChar[i]];
|
||||
}
|
||||
let finalText = emojiArray.join("");
|
||||
message.say(finalText)
|
||||
message.delete();
|
||||
message.say(emojiArray.join(""))
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue