Hello myself Anish Shobith and i am the developer of this npm package Discord Bot Maker
- A Tool which creates a discord bot with a CLI
- Made with discord.js
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!!
- Command Handler
- Event Handler
- Database
- Making cli accept the token and other stuff
- More Commands
- Built in Command Handler
- Built in Event Handler
- Advanced Help and Eval Command
- Some more cool commands
/**
* Main Package
*/
const Discord = require("discord.js");
/**
* Other Pacakge Optional
*/
module.exports = {
run: async (bot, message, args) => {
//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"
};
module.exports = async (bot/*Other parameters followed by comma(,)*/) => {
//Your code
}
- Note: Event file name should be as same as given in the docs..
Version 0.0.1
- Command Handler
- Event Handler
Version 0.0.2
- Added Few Commands
- More Events
- Added Mention as prefix