A discord bot that can show the activity of twitch moderators in a specific channel.
The project contains bugs and work is currently suspended!
-
Go to the discord developer portal.
-
Invite your bot with this link and replace
APPLICATION_IDwith your application id:
https://discord.com/api/oauth2/authorize?client_id=APPLICATION_ID&permissions=2147483648&scope=bot%20applications.commands
-
It is recommended to create a new account.
-
Sign in to this account.
-
Open the developer tools:
Shift+CTRL+J/Shift+CTRL+I -
Open the
Storagetab. -
Search for
auth-token. -
Copy the value from
auth-token. -
Add
OAuthto the start of the token:
OAuth YOUR_TOKEN
-
Open a online username converter.
sudo apt updatesudo apt install python3 python3-pip git -ygit clone https://github.com/X-Gamer-Guide/twitch-mod-activity-tracker.gitcd twitch-mod-activity-trackerpython3 -m pip install -r requirements.txtmkdir datacp config_example.yml config.yml- Edit
config.ymland replace the tokens and the channel id.
python3 main.py
- Download Docker here
sudo docker build -t twitch-mod-activity-tracker .sudo docker volume create twitch_mod_activity_tracker_configsudo docker volume create twitch_mod_activity_tracker_datasudo docker run -v twitch_mod_activity_tracker_config:/config -v twitch_mod_activity_tracker_data:/data -d --restart unless-stopped --name twitch-mod-activity-tracker twitch-mod-activity-tracker- Edit
sudo nano /var/lib/docker/volumes/twitch_mod_activity_tracker_config/_data/config.ymland replace the tokens and the channel id.
sudo docker rm -f twitch-mod-activity-tracker
sudo docker logs twitch-mod-activity-tracker
MIT License
Copyright © 2022 X Gamer Guide