Discord.js-Bot | Open Source version of Cryptonix X | Bot library
kandi X-RAY | Discord.js-Bot Summary
kandi X-RAY | Discord.js-Bot Summary
An Open Source version of Cryptonix X and a basic frame for any discord.js bot
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Discord.js-Bot
Discord.js-Bot Key Features
Discord.js-Bot Examples and Code Snippets
Community Discussions
Trending Discussions on Discord.js-Bot
QUESTION
Whenever I type the following command //unmute
, it shows me This member isn't muted!
although the person I specified is truly muted. I've been stuck on this command for a few hours and I can't seem to find the problem. (The mute command is from this , I changed up some things.)
ANSWER
Answered 2018-Sep-23 at 09:40Thanks to @Profit for answering in the comment section of the main question. The problem is solved.
Add .id
to if (!unmute.roles.has(muterole
Here))
.
After that, now it should look like this: if (!unmute.roles.has(muterole.id))
.
.has
is used to check whether an element with the specified key exists.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Discord.js-Bot
Fill in the required spots, such as token, prefix and change anything you like in settings.json and customisation.json.
To install all needed node modules, do npm install
Make a MongoDB Atlus Account for coins Database and settings.
Fill in the URL for the MongoDB Database Tutorial
Get the AlexFlipnote's API Key for image commands and fill in the blank Read More Here
Start the bot by double clicking on the start.bat file
In setup you need to first do [prefix]settings template to get the template. Then you need to edit it and upload it to discord as an attachment with the command [prefix]settings upload (these settings are different from settings.json from Step 1, if you need an example json file do [prefix]settings example)
Enjoy!
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page