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