npm install— Installs all dependencies.node index.js— To run discord's bot.
-
By forking, clone the repository in your local system.
-
Update the node version (v16.x.x) & discord js (v13.1.0).
-
Make an app in the Discord Developer Portal to hold the Discord bot.
-
Open the folder in your IDE, & make a fille
.envto setup the environment & carry credentials of Discord's developer portal. -
Click on the
New Applicationfor naming your Discord bot and copy-paste the following content in.env:TOKEN=3ad852c30cda4bdfd2e942cfe5wc9d90b81710851e80cc5b3cfc5avac1965d1f -
Click on
OAuth2, selectbot&appliations.commandsunderSCOPES; and underBOT PERMISSION, check every box underText Permission; Copy the link generated to call that bot in your server. -
From left section, click on
Bot->Add Bot->Yes, do it. -
For, hop to this link and Signup -> at top -> select
API->show my api-key-> copy your unique API id asApiKey username:fc5505cf4a5c0ec16854972bf25387231cv35bm1-> Paste it in.envas:CLIST_API_KEY=ApiKey username:fc5505cf4a5c0ec16854972bf25387231cv35bm1 -
Copy & paste, the server id in
.envfile as:HOME_GUILD_ID=885165658936049745
The devstrons' contest bot project is released under the MIT license.
Developed & maintained By the DEVSTRONS' Community. Copyright 2021 © DEVSTRONS.
YouTube @devstrons · Instagram @devstrons · Discord DEVSTR😊NS' · Twitter @devstrons
