Skip to content

Schippi/DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordBot

first setup:

sudo apt-get install sqlite3 libsqlite3-dev

sudo apt-get install libzbar-dev

pip install zbar-py

pip install yagmail

pip install aiohttp

pip install pytz

pip install discord.py

pip install pyzbar

pip install discord

pip install Pillow

pip install aiodns

pip install cchardet

pip install py-dateutil

pip install aiohttp_session

pip install cryptography

pip install twitchio

pip install matplotlib

change twitchio.websocket.py: in join action: edit the if clause: if self._pending_joins and channel in self._pending_joins.keys():


accounts and such:


mv cfg/empty.db cfg/bot.db

echo "YOUR TWITCH API KEY" > tokens/twitch.token

echo "YOUR TWITCH API SECRET" >> tokens/twitch.token

echo "YOUR TWITCH BOT NAME" > tokens/irc.token

echo "YOUR TWITCH BOT OAUTH TOKEN" >> tokens/irc.token

echo "YOUR YOUTUBE API KEY" > tokens/youtube.token

echo "YOUR DISCORD API KEY" > tokens/dicord.token

echo "YOUR EMAIL ADDRESS" > tokens/mail.token

echo "YOUR EMAIL APPPLICATION PASSWORD" >> tokens/mail.token

https://certbot.eff.org/ sudo certbot renew or openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout cfg/privkey.pem -out cfg/fullchain.pem

cd src

python3 -u DiscordBot.py ../tokens/dicord.token ../cfg example.com 8080

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published