Skip to content

Hepka/Saturn-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. config.json

create config.json file.

1.1 properties:

  • token: token of your bot;
  • prefix: prefix for your bot;
  • owners: ids of bot owners;

2.0 commands

create commands to "modules/cmds/{category}/{name}.js"

2.1 module.exports must be have nexts properties:

  • run: function of your command. Take 3 arguments: message, client and args;
  • config: data of command;
  • config.name: name of command. Sets automatically be filename, but you can speciefed;
  • config.category: category command, too sets automatically by folder name, but you ccan speciefed;
  • config.aliases: aliases of the command name;
  • config.permissions: permissions, which need to run command;
  • config.visible: visible command for usual users. Sets automatically, but you can set him.
  • config.args: array of the replyes at no arguments;
  • config.description, config.bigDescription, config.using and config.ecamples: for help;

About

core for discord.js bots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published