adan-ea / adroid_ea_JS

Old version of my bot in JS. Last commit : 3203045784afa5e08ad944ff76ff2fb1276d34a8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

=== ARCHIVED VERSION ===

Actual branch : https://github.com/adan-ea/adroid_ea

Last commmit on main about this : 3203045

πŸ“– Introduction

This is a discord bot primarly made for my discord server (this is why some values are hard coded) but feel free to use the code for yourself.

✨ Features

  • Uses slash (/) commands

  • Log certain important events like GuildMemberJoin/Leave

  • Auto manage voice channels, deletes and creates channels so only one is visible image

  • Some memes stuff like "hello there" and some private jokes image

  • Sends a message whenever the (mine) twitch channel Adan_ea is live or when i change game mid-stream

  • help command

  • if used with pm2 the /reload command will reload the bot when it crashs

  • purge command

πŸ— Development

env:

MONGO_URI
DISCORD_TOKEN
DISCORD_DEV_GUILD
TWITCH_CLIENT_ID
TWITCH_CLIENT_SECRET
npm install
npm run dev

πŸ’» Production

npm install --production
npm run build
npm run start

πŸ‹ Docker

To start your application:

docker-compose up -d

To shut down your application:

docker-compose down

To view your application's logs:

docker-compose logs

From Dockerhub:

docker pull adanea/adroid_ea:<version>

For the full command list please view the Docker Documentation.

πŸ“œ Documentation

About

Old version of my bot in JS. Last commit : 3203045784afa5e08ad944ff76ff2fb1276d34a8

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 99.6%Language:Dockerfile 0.4%