Skip to content
Advertisement

Tag: discord

Reason after blacklisting command Discord.js

I want to add a reason to my blacklists (with the command !blacklist {userid} {reason}) which are visible in the embeds below like .addField (“💬 Reason:”, somecode) how can I fix this? Answer First you’ll want to check if there is no reason, this can be simple done by checking, for both approaches, if the second argument is undefined, like

I am trying to make a discord.js command that creates a role named “MUTED” and overwrites all the channel permission to set “Send message” to false [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question I want to make it so that it creates the role and then overwrites the permissions in every channel that exists in the server. Answer

Embed React Pages Discord Js

i made a bot Help command list by saying ” 911 ” in chat . It gives u an embed with the commands and 3 react buttons “forward” “backward” “delete” . It works as intended but idk why I can only use the reaction buttons once . For example : i am on page 1 , i pressed to go

Discord.js Mention, User Undefined

EDIT: I have found the solution by myself, thank you everybody who sees this post! The solution is : That is the solution to this problem, it’s not the same as message.author but at least it works now! Original: I’m having a little problem with my script! Any help would be highly appreciated! Here’s the problem: This is the first

Discord: Get User by Id

I’m trying to create a web application to manage the users of my Discord server. In my database, I have stored only the users’ ids. I tried to use the discord.js API, but from what I’ve understood it requires a discord bot to do that. That’s not what I want. I would like to retrieve the user’s information from my

Advertisement