DiscordBotNodeJs icon indicating copy to clipboard operation
DiscordBotNodeJs copied to clipboard

Can I have the code for how the .emoji works essentially?

Open ghost opened this issue 5 years ago • 4 comments

I want to add that command to my bot and i'm not sure how i'd acomplish this.

If you wanna hmu on dcord

ghost avatar Feb 29 '20 06:02 ghost

https://github.com/MonsterMannen/DiscordBotNodeJs/blob/master/commands/emoji.js

install the 3 packages that are required, copypaste the code and see if that works.

MonsterMannen avatar Feb 29 '20 20:02 MonsterMannen

Nope. I've tried it. I made an emoji.js in my folder and it won't work as a reference and I tried just copy + pasting it in my command with the correct packages. Didn't seem to work tho.

ImNoahIThink avatar Mar 01 '20 11:03 ImNoahIThink

index.js

https://pastebin.com/7ye7a52K

emoji.js

https://pastebin.com/Vf1aXUsN

ImNoahIThink avatar Mar 01 '20 11:03 ImNoahIThink

Dont you need to require emoji.js (you didnt add .js) ?

Also what is this: emojiwall.wall();

.wall? No function like that in your emoji.js

MonsterMannen avatar Mar 01 '20 20:03 MonsterMannen