Skip to content

A repository for a basic discord bot with a command handler

Notifications You must be signed in to change notification settings

JusteLoneWolf/Bot-Discord-Structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot Structure

Codacy Badge

For the DJS v13 (in dev)

Requirements

  • Nodejs v14 minimum (latest release)

  • NPM version 7 minimum (latest release)

  • Git (Optionnal)

Installation

Download git here

Download the repository

git clone https://github.com/zechaos031/Bot-Discord-Structures or download button in repository.

Go to directory

cd Bot-Discord-Structures

Install package dependencies

npm i

Copy config.js.exemple to config.js

  • Provide bot token

  • Change other option if you want

Launch

node main

DiscordBotStructure options

DiscordBotStructure#conf: The bot config. Default: {}.

DiscordBotStructure#clientOption: The clientOption. Default: {}.

DiscordBotStructure#translateModule: The translationModule. Default: false.

DiscordBotStructure#databaseModule: The dataBaseModule. Default: none.

DiscordBotStructure#commands: The commandeModule. Default: true.

DiscordBotStructure#cooldownManager: The cooldownManager. Default: true.