Skip to content

CorruptedPixl/dbrand-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbrand-discord-bot

What's this

A custom built Discord bot using Discord.js V12 for the dbrand server.

Prerequisites

This bot is made to run on server side js such as node. If you want to run it you'll have to install it first. Google can help you with this.

Installing

Download the source code and run the index.js file. It'll load all the necessary commands and other files such as the config.json.

I've changed the way the bot loads the token to be more secure. This is accomplished by using a .env file. As with config.json, this is not included but should be in the same directory as index.js. Here's an example of what your .env file should look like.

CLIENT_TOKEN=YourTokenHere

To verify that the bot is online, run npm start and you should see the Discord bot appear online on your server. Note: this requires nodemon to be installed so be sure that you have all dependencies installed if you run into any issues.

Test it out by running the ping command: !ping

If you see Pong! The current ping is 148 ms the bot's up and running!

Built With

Special thanks to

Misly for helping with the bot's structure and some examples!

About

Rewrite of the original

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published