Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

anishshobithps/discordjsbotmaker

Repository files navigation

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

forthebadge

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:

  1. Go in a directory or folder of your choice
  2. Open command prompt in that folder
  3. 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 = 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"
};

Making a Event

module.exports = async (bot/*Other parameters followed by comma(,)*/) => {
    //Your code
}
  • Note: Event file name should be as same as given in the docs..

ChangeLog:

Version 0.0.1

  • Command Handler
  • Event Handler

Version 0.0.2

  • Added Few Commands
  • More Events
  • Added Mention as prefix

About

A Discord bot maker based on a CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •