@ptkdev/node-discord-bot-boilerplate
v1.0.20210412
Published
Create your discord bot with this friendly boilerplate. Use this repository as template for your bot
Downloads
6
Maintainers
Readme
🤖 node-discord-bot-boilerplate
Create your discord bot with this friendly boilerplate. Use this repository as template for your bot
This is a github template, you can fork it or use as template for start new project with this repository as hello-world. I hate start new project with empty template, often i missing correct configuration, readme instruction or i need of samples of code. Use this repository as template solve this problem.
🎁 Support: Donate
This project is free, open source and I try to provide excellent free support. Why donate? I work on this project several hours in my spare time and try to keep it up to date and working. THANK YOU!
📎 Menu
- 💡 Features
- 🚀 How to use
- 📚 Documentation
- 🔨 Developer Mode
- 🚀 Deploy
- 👨💻 Contributing
- 🐛 Known Bugs
- 🍻 Community:
- Telegram (🇬🇧 English | 🇮🇹 Italian)
- Discord (🇬🇧 English | 🇮🇹 Italian | 🇵🇱 Polish)
💡 Features
- [✔️] Easy to use
- [✔️] MIT License
- [✔️] Make discord bot with node
- [✔️] Friendly boilerplate + Github templates
- [✔️] Typescript + TSPaths preconfigured
- [✔️] Userfriendly folders tree
- [✔️] Prettiers and ESLint preconfigured
- [✔️] all-contributors-cli and all-shields-cli preconfigured
- [✔️] JEST Test preconfigured
- [✔️] Full async code
- [✔️] Github and Vscode dotfiles preconfigured
- [✔️] Translations: 🇬🇧 🇮🇹 🇵🇱 (Help me ❤️)
🚀 Usage: Deploy
- Clone this repository or download nightly, beta or stable.
- Create new application on discord developer page:
- A. Click "Bot" on left menu, generate new bot and save token for step 3
- B. Click "oAuth2" on left menu, go to bottom and set
scope
asBOT
and check all write permissions. Copy generated link and invite bot to your server.
- Run with correct values:
npm run init:token --token asdfghjkl
- Run
npm run init
- Run
npm run start-pm2
- Write
/start
on discord bot.
🔨 Developer Mode
🏁 Run Project
- Clone this repository or download nightly, beta or stable.
- Create new application on discord developer page:
- A. Click "Bot" on left menu, generate new bot and save token for step 3
- B. Click "oAuth2" on left menu, go to bottom and set
scope
asBOT
and check all write permissions. Copy generated link and invite bot to your server.
- Run with correct values:
npm run init:token --token asdfghjkl
- Run
npm run init
- Run
npm run dev
- Write
/start
on discord bot.
💾 Setup Project
If you want replace all strings (example: package name, author, urls, etc...) in markdown file, source files and others files of this project you need edit setup.json
with correct values and run npm run setup
.
🚀 Deploy
Deploy bot to your server and:
- Run with correct values:
npm run init:token --token asdfghjkl
- Run init
npm run init
- Generate release
npm run release
- Start bot
npm run start-pm2
📚 Documentation
Run npm run docs
👑 Backers and Sponsors
Thanks to all our backers! 🙏 Donate 3$ or more on paypal, ko-fi, github or patreon and send me email with your avatar and url.
👨💻 Contributing
I ❤️ contributions! I will happily accept your pull request! Translations, grammatical corrections (GrammarNazi you are welcome! Yes my English is bad, sorry), etc... Do not be afraid, if the code is not perfect we will work together 👯 and remember to insert your name in .all-contributorsrc
and package.json
file.
Thanks goes to these wonderful people (emoji key):
💰 In the future, if the donations allow it, I would like to share some of the success with those who helped me the most. For me open source is share of code, share development knowledges and share donations!
🦄 Other Projects
💫 License
- Code and Contributions have MIT License
- Images and logos have CC BY-NC 4.0 License
- Documentations and Translations have CC BY 4.0 License