Relative Content

Tag Archive for node.jsdiscord.js

How to filter out bots when listening to the reaction event

My code is below. Users are supposed to easily react to a message and it opens a new ticket. Someone told me to filter out bots or something, however, the bot opens up its own ticket, deletes the reaction and I am only left with the gray question mark one. It doesn’t even work when I react to it. I’m pretty new to coding. The bot just opens up its own.

Creating custom bot for an Discord Guild

I have seen several discord bots that have the option to customize some details of the bot (Name, Avatar, …), some examples are MEE6, ProBot and some others.

Validation error while trying to deploy SlashCommands

I’m trying to create some slash commands for my discord bot, but there is an issue I can’t figure out while trying to deploy them. I’m using discord.js both to create the commands, via SlashCommandBuilder, and to communicate with Discord, via the provided handler REST.