Coding a better Role Reaction Bot with DiscordJS

preview_player
Показать описание
Today we will look at another way to write a Role Reaction bot using the DiscordJS library.

P.S: I will be doing a Server Boost giveaway and ANOTHER Nitro Giveaway. Check out my Discord for more details TBA.

----------------------------------------------

MUSIC CREDITS:

Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Creative Commons — Attribution 3.0 Unported — CC BY 3.0

Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Рекомендации по теме
Комментарии
Автор

I have an error at
var role = => role.name.toLowerCase() === roleName.toLowerCase());
the find isn't declared

mooshroomn
Автор

I'm having a problem when i wrote the codes it doesn't color like usual.

Maximus-edef
Автор

Hi Stuy, wondering if you can help. I'm trying to add something where members choose a reaction for say a region, that then auto puts it in there name, ie Diverdan then appears as [EU]Diverdan. I've seen it on other servers but can't for the life of me work it out. Was also hoping to add either PVE or PVP at the end of the name too (in different colours to the name). Any help or suggestions would be greatly appreciated

DRoantree
Автор

is it okay if we don't put the message.delete so it just stays there?

kamael
Автор

I don't understand how it is possible that i actually wrote THE SAME code and mine doesn't work... i always get :" => {
^

TypeError: Cannot read property 'id' of null " when i react...

frazanolo
Автор

what if i used some of discords emojis for my reactions? i cant change their name, but then id have to change the role name and it wouldnt make sense (for example i hav a role v8 gang, but the emoji i used is :eight:)

krabstickle
join shbcf.ru