Discord Bot — Clock — YouTube tutorial series about creating own Discord bot with discord.js
library.
- What should I know before starting?
- What programs do I need?
- Installation
You should know javascript fundamentals. I'm using modern javascript specification like ES6.
- Text editor or IDE — Sublime Text 3, Visual Studio Code (i'm using it)
- Node JS server installed
More informations you can find on my youtube series. https://www.youtube.com/m7rlin
Download or clone repository.
Install packages.
$ npm install
- Customize
src/config/config.js
file to fit your needs.
...
module.exports = {
token: process.env.token,
prefix: "!",
}
prefix
— your bot command prefix
- Create
.env
file and set environment variables.
TOKEN=___YOUR_TOKEN_HERE___
TOKEN
— your bot token (should always be private)
MIT