Skip to content

A barebones, skeleton Discord.JS bot, intended to serve as the foundation for a discord bot.

Notifications You must be signed in to change notification settings

Mindlesscargo/skeleton-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bare Discord.JS Bot

A barebones, skeleton Discord.JS bot, intended to serve as the foundation for a discord bot.

Features

  • Command Handler
  • Event Handler
  • Example Event and Command
  • Server Prefix Support
  • Env File Config
  • Basic Help Command
  • Prefix Control

Code examples

  1. Commands
module.exports = {
  name: 'ping', // Name of the command, will show on help command
  description: 'Ping Pong',
  aliases: ['pinger'],
  category: 'Test',
  execute(args, client, message) {
     message.channel.send('pong!')
   }
}
  1. Events
module.exports = {
    event: 'ready', // Name of the event (ready, message, error, guildUpdate, etc)
    execute() {
        console.log('Bot started')
    }
}

About

A barebones, skeleton Discord.JS bot, intended to serve as the foundation for a discord bot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published