Go to file
Erit Islami 9dc7898073
chore: version
2023-02-02 09:28:06 +01:00
.github chore(github): issue template updates 2022-09-05 13:23:22 +02:00
commands fix(permissions): switch to PermissionsBitField enums 2023-01-24 15:26:08 +01:00
interfaces ♻️ TypeScript Refactor (#1179) 2022-06-14 11:29:30 +02:00
locales fix(locale): prefix missing 2022-04-23 20:40:36 +02:00
sounds feat: play local mp3 files 2020-12-02 10:17:31 +01:00
structs fix(permissions): switch to PermissionsBitField enums 2023-01-24 15:26:08 +01:00
utils fix(permissions): switch to PermissionsBitField enums 2023-01-24 15:26:08 +01:00
.dockerignore fix(dockerignore): update 2021-09-17 11:24:09 +02:00
.gitignore ♻️ TypeScript Refactor (#1179) 2022-06-14 11:29:30 +02:00
.prettierrc ♻️ TypeScript Refactor (#1179) 2022-06-14 11:29:30 +02:00
.replit Add run on repl.it badge to README (#168) 2020-08-26 04:07:29 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2021-09-04 02:28:32 +02:00
CONTRIBUTING.md fix(play): patch translation 2021-09-04 19:47:22 +02:00
Dockerfile fix(build): final build not reading commands 2022-08-28 15:42:13 +02:00
LICENSE Initial Commit 2019-05-15 16:21:37 +02:00
README.md 📝 Update readme 2023-01-23 00:17:53 +01:00
app.json ♻️ TypeScript Refactor (#1179) 2022-06-14 11:29:30 +02:00
config.json.example ♻️ TypeScript Refactor (#1179) 2022-06-14 11:29:30 +02:00
index.ts Update & migrate to basic Discord.js 14 2023-01-23 00:17:45 +01:00
nodemon.json ♻️ TypeScript Refactor (#1179) 2022-06-14 11:29:30 +02:00
package-lock.json chore: version 2023-02-02 09:28:06 +01:00
package.json chore: version 2023-02-02 09:28:06 +01:00
tsconfig.json fix(queue): stay time and quality filter 2022-09-02 22:05:24 +02:00

README.md

Node build Docker build Commitizen friendly

logo

🤖 EvoBot (Discord Music Bot)

EvoBot is a Discord Music Bot built with TypeScript, discord.js & uses Command Handler from discordjs.guide

Requirements

  1. Discord Bot Token Guide
    1.1. Enable 'Message Content Intent' in Discord Developer Portal
  2. Node.js 16.11.0 or newer

🚀 Getting Started

git clone https://github.com/eritislami/evobot.git
cd evobot
npm install

After installation finishes follow configuration instructions then run npm run start to start the bot.

⚙️ Configuration

Copy or Rename config.json.example to config.json and fill out the values:

⚠️ Note: Never commit or share your token or api keys publicly ⚠️

{
  "TOKEN": "",
  "MAX_PLAYLIST_SIZE": 10,
  "PREFIX": "!",
  "PRUNING": false,
  "LOCALE": "en",
  "DEFAULT_VOLUME": 100,
  "STAY_TIME": 30
}

🐬 Docker Configuration

For those who would prefer to use our Docker container, you may provide values from config.json as environment variables.

docker run -e "TOKEN=<discord-token>" eritislami/evobot

📝 Features & Commands

Note: The default prefix is '!'

  • 🎶 Play music from YouTube via url

!play https://www.youtube.com/watch?v=GLvohMXgcBo

  • 🔎 Play music from YouTube via search query

!play under the bridge red hot chili peppers

  • 🔎 Search and select music to play

!search Pearl Jam

Reply with song number or numbers seperated by comma that you wish to play

Examples: 1 or 1,2,3

  • 📃 Play youtube playlists via url

!playlist https://www.youtube.com/watch?v=YlUKcNNmywk&list=PL5RNCwK3GIO13SR_o57bGJCEmqFAwq82c

  • 🔎 Play youtube playlists via search query

!playlist linkin park meteora

  • Now Playing (!np)
  • Queue system (!queue, !q)
  • Loop / Repeat (!loop)
  • Shuffle (!shuffle)
  • Volume control (!volume, !v)
  • Lyrics (!lyrics, !ly)
  • Pause (!pause)
  • Resume (!resume, !r)
  • Skip (!skip, !s)
  • Skip to song # in queue (!skipto, !st)
  • Move a song in the queue (!move, !mv)
  • Remove song # from queue (!remove, !rm)
  • Show ping to Discord API (!ping)
  • Show bot uptime (!uptime)
  • Toggle pruning of bot messages (!pruning)
  • Help (!help, !h)
  • Command Handler from discordjs.guide
  • Media Controls via Reactions

reactions

🌎 Locales

Currently available locales are:

  • English (en)
  • Arabic (ar)
  • Brazilian Portuguese (pt_br)
  • Czech (cs)
  • Dutch (nl)
  • French (fr)
  • German (de)
  • Greek (el)
  • Indonesian (id)
  • Italian (it)
  • Japanese (ja)
  • Korean (ko)
  • Minionese (mi)
  • Persian (fa)
  • Polish (pl)
  • Russian (ru)
  • Simplified Chinese (zh_cn)
  • Singaporean Mandarin (zh_sg)
  • Spanish (es)
  • Swedish (sv)
  • Traditional Chinese (zh_tw)
  • Thai (th)
  • Turkish (tr)
  • Ukrainian (uk)
  • Vietnamese (vi)
  • Check Contributing if you wish to help add more languages!
  • For languages please use ISO 639-1 two letter format

🤝 Contributing

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/evobot.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Stage changes git add .
  5. Commit your changes: cz OR npm run commit do not use git commit
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request