forked from Supositware/Haha-Yes
fixed a mistake
This commit is contained in:
parent
cf4a7f9840
commit
30c004111a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module.exports = class emoteSayCommand extends Command {
|
|||
text.toLowerCase().split('')
|
||||
let emojiArray = [];
|
||||
for (let i = 0; i < text.length; i++) {
|
||||
emojiArray[i] = emojiCharacters[textChar[i]];
|
||||
emojiArray[i] = emojiCharacters[text[i]];
|
||||
}
|
||||
message.say(emojiArray.join(""))
|
||||
|
||||
|
|
Loading…
Reference in a new issue