Skip to content

30jannik06/Discord-Bot-Javascript

Repository files navigation

Simple Discord Bot

Simple Discord Bot written in JavaScript

Installation

Clone or Download the Repo

git clone https://github.com/30jannik06/Simple-Discord-Bot

"cd" into Project Folder

cd Simple-Discord-Bot

Install Node Packages

npm install

Add your Informations to Config.json

{
   "token": "botToken_HeRE",
   "guildId": "guildId_HeRE",
   "clientId": "clientId_HeRE",
   "prefix": "botPrefix_HeRE"
}

Run Bot in Command Line

node index.js

or

npm start

Functions

  • Message Handler
  • Slash-Command Handler
  • Slash Commands
  • Event Handler

JavaScript
Discord