Sebuah bot discord yang di buat menggunakan framework discord js dari javascript untuk handle interaksi user di discord
- Node JS >= 16.13.x
- Node GYP
- Python >= 3.6.0
- Visual Studio >= 2022
Pastikan kalian sudah menginstall node js dengan versi >= 18 ke atas
npm install
Copy file .env.example menjadi .env, dan isi data seperti token etc
copy .env.example .env (windows)
cp .env.example .env
jika sudah, isi detail data pada index.js dalam folder config. dan jalankan bot
npm start
- localhost:3000
- localhost:3000/api
- localhost:3000/api/ping
- localhost:3000/api/users
- localhost:3000/api/uptime
- localhost:3000/api/guilds
- localhost:3000/api/channels
- localhost:3000/api/command
- localhost:3000/api/command/:name
- localhost:3000/api/slash
- localhost:3000/api/slash/:name
- localhost:3000/api/invite
- localhost:3000/api/github
- localhost:3000/api/log
- localhost:3000/api/log/:type
- localhost:3000/api/log/:type/:date
Project ini dibuat dengan typescript dan discord js v14.
Untuk catatan lebih lanjut kalian bisa baca note.md
A discord bot created using the discord js framework from javascript to handle user interaction on discord
- Node JS >= 16.13.x
- Node GYP
- Python >= 3.6.0
- Visual Studio >= 2022
Make sure you have installed node js with version >= 18 and above
npm install
Copy the .env.example file to .env, and fill in data such as tokens etc
copy .env.example .env (windows)
cp .env.example .env
if so, fill in the data details in index.js in the config folder. and run bots
npm start
- localhost:3000
- localhost:3000/api
- localhost:3000/api/ping
- localhost:3000/api/users
- localhost:3000/api/uptime
- localhost:3000/api/guilds
- localhost:3000/api/channels
- localhost:3000/api/command
- localhost:3000/api/command/:name
- localhost:3000/api/slash
- localhost:3000/api/slash/:name
- localhost:3000/api/invite
- localhost:3000/api/github
- localhost:3000/api/log
- localhost:3000/api/log/:type
- localhost:3000/api/log/:type/:date
This project was made with typescript and discord js v14.
For further note you can read note.md