Skip to content

dev4hobby/chatbot-discord-heroku

Repository files navigation

Simple Discord BOT

Dependency

Python 3.8.10

discord.py         1.7.
youtube-dl         2021.6.6
black              21.7b0

If you wanna use this as Music BOT maybe need this step..

Linux

apt-get update
apt-get install -y opus-tools ffmpeg
pip install -r requirements.txt

OSX

brew install opus
brew install ffmpeg
pip install -r requirements.txt

Deploy to heroku

Procfile

worker: python ${your_bot_file.py}

upload your Procfile and enable Dyno

Config Vars

{
  "DISCORD_BOT_TOKEN": "your_bot_token"
}

Go to Discord developer console > Bot and copy your Bot token.

Aptfile

wget

Buildpacks

heroku/python https://github.com/heroku/heroku-buildpack-apt.git https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git https://github.com/xrisk/heroku-opus.git

About

discord chatbot template w/ Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages