Discord bot Maker
Hello myself Anish Shobith and i am the developer of this npm package Discord Bot Maker
About:
- A Tool which creates a discord bot with a CLI
- Made with discord.js
Pre Requirements:
Installation:
So we need to install it globally so we can use it whenever we want and thats what we want!!
Installing the Package:
npm i -g discordjsbotmaker
And your done !!
Now working with your project:
- Go in a directory or folder of your choice
- Open command prompt in that folder
- In the command line type
discordbotmaker
And it will ask all the required things!! Sit back and relax!!
And your project will be Generated with your folder name!!
TODO:
- Command Handler
- Event Handler
- Database
- Making cli accept the token and other stuff
- More Commands
Features
- Built in Command Handler
- Built in Event Handler
- Advanced Help and Eval Command
- Some more cool commands
Making a Command
/** * Main Package*/const Discord = ;/** * Other Pacakge Optional*/ moduleexports = run: async { //Your Code}conf: guildonly: true/false owneronly: true/false enabled: true/false help: name: "commandname" aliases: "commandaliases"/*Add more if you want*/ description: "Command Description";
Making a Event
moduleexports = async bot/*Other parameters followed by comma(,)*/ //Your code
- Note: Event file name should be as same as given in the docs..
For More Help Join Our Discord Server:
ChangeLog:
Version 0.0.1
- Command Handler
- Event Handler
Version 0.0.2
- Added Few Commands
- More Events
- Added Mention as prefix
Version 0.0.3
- Fixed few bugs from version 0.0.2
Version 0.0.4
- Fixed Eval command
Version 0.0.5
- Fixed Readme
Version 0.0.6
- Fixed a Lot of Stuffs [I am really sorry i forgot to test something and i uploaded it]