bianvigano1 / Discord-Bot-Example

Discord Bot Example created with discord.js lib!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Bot Example

N|Solid

Features

  1. Ping commands
  2. Beep Boop Commands
  3. Simple code block
  4. Click and Run bot

How to run the bot

Presequites

  1. Node.js version 8.x (LTS) recomended.
  2. Text Editor application. For editing config file and other simple edit. VS Code or Atom would be prefered.
  3. CMD or Similar application like powershell, bash, and other.

Installing

  1. Clone this repository or download as zip, then extract it.
  2. Open the bot directry and fire up a teminal.
  3. Send npm install -S to the terminal and wait it finish.
  4. Rename config.json.example to config.json
  5. Open config.json then change the content properly and save it.
  6. You are ready to go!

Executing

From the terminal

  1. Direct node execution
$ node index.js
  1. NPM Execution
$ npm start

These code will work on windows too

From the bat file

Just run the runbot.bat

Another Example

Usefull resources

Thanks. Hazmi35

About

Discord Bot Example created with discord.js lib!


Languages

Language:JavaScript 97.1%Language:Batchfile 2.9%