badRyuk / GenBot

This is a simple gen bot made with discord.js. This works with discordjs v12. It uses a command handler making it is easier to edit parts of the bot. This only 2 package which is discord.js and dot env
MIT License
11 stars 24 forks source link
bot command-handler discord genbot

Goodbye...atleast for a while

As of writing this...it has been almost an year since the previous update was done. A lot of code of the bot may be outdated as well as is missing features that could make it well like better like buttons and slash commands. A few errors have also been reported so i guess the bot doesn't work as intended anymore... Also, I haven't coded for a while. Hence, I'll be leaving this code here for a while until I either return to coding or just want to do this for no reason at all. I'll be still seeing issues and pull requests fell free to contribute as always. Won't be archiving this just yet as well. I've met up with a lot of people since the start of 2021 and want to spend time with them as well for now. mmm yeah thats all i think ive to say here even if noone's gonna read it.
Thanks for Everything. Happy New Year ByeBye! ヾ(^ ∇ ^)

Using the bot

Go through the entire bots code before using it. It is very easy to use it. Just read up all the things given. Here are a few things you should keep in mind while going through the code:

Installation > Setting Up > Starting > Using

Installation

Git Installation Guide


Setting Up

Set Up Info for config.json file

Adding More Commands / Editing Commands

If this is your first time ever making a discord.js bot I highly recomend you to watch a video on how to set up a discord.js. Also view up the Discord.JS Guide and Discord.js Docs. If you don't know Javascript learn it first. Copying randomly won't help you with anything at all.

Refer to the test.js file. It explains everything you need to do in setting up.


Starting the Bot

Requirements!


DO NOT OVER KEEP YOUR DISCORD TOKEN OR API KEYS PUBLIC! If your Discord token is public people may use your bot to do whatever they want. From massbanning members, deleting channels, etc. Your can regenerate your token if you ever think that it has been leaked out in the public. Then change the old token in the .env file with the new token!

Contributing and Issues

Feel free to contribute to the repoistry by forking the repoistry and creating a pull request! If you have any issues open an issue!

Update Log

Update 2.0

  • Updated On 11th January 2021 Changes/Fixes
  • [x] Changed Command Handler
  • [x] Added Dynamic Help Command
  • [x] Reload Command Added
  • [x] Command Usages, Aliases, Cooldowns, Guild Only, Gen Channel Only, Specific Server Only Commands Added
  • [x] Added config.json file and more info on how to install, run, create commands to README.MD file.
  • [x] Further bug fixes and minor changes.
  • [x] Added test.js explaining all features and add mention as secondry prefix.

This update basically adds better features to the bot along with a better command handler. Further smaller updates will be passed subsequent to this. Suggestions for new features will be appreciated! As of now [ 11th of January 2021 or the date this update/commit is pushed ] all the features are working just as expected.

Other

If you still find any issues feel fee to open an issue. If you like the repoistry make sure to star the repoistry ⭐
Happy Coding