Skip to content

tonyG433/DiscordBotTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Banner

Discord server bot version License Bot Lib

🤖 My take on a bot template!

This is a full Discord bot template that uses discord.js v14 and supports slash commands. I created this template so beginners can use it and build on top of it.

💻 Setting the bot up

First off, click the "Use this template" button to create a repository with the template.

button

After that you are good to clone your newly created repository!

git clone

Next up you will have to install all the dependencies by running

npm install

Then, you are going to create a file with the name config.json. Copy and paste the example bellow.

{
  "token": "BotToken",
  "devs": ["DevId1", "DevId2"],
  "clientId": "BotClientID"
}
  • token - your bot's token, acquired in the developer portal
  • devs - the ID's of the bot developer(s)
  • clientID - The bot's client ID, can be acquired from the developer portal

You are all set to run the bot now. Have fun!

npm run start

⚠️ Bear in mind that you must be using Node.js v16.9.0 or higher!

👥 Author and contributors

If you want to be a developer then DM me on Discord (tonyG#0001) or you could contribute directly by Pull Requests. There isn't an issue template yet, but we are currently making one. Issues that aren't actually issues will be answered and closed and same goes for pull requests.

📝 License

This project is MIT licensed


Made with ❤️ by BotReadmeTemplate

Releases

No releases published

Packages

No packages published