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_ID
with 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
Storage
tab. -
Search for
auth-token
. -
Copy the value from
auth-token
. -
Add
OAuth
to the start of the token:
OAuth YOUR_TOKEN
-
Open a online username converter.
sudo apt update
sudo apt install python3 python3-pip git -y
git clone https://github.com/X-Gamer-Guide/twitch-mod-activity-tracker.git
cd twitch-mod-activity-tracker
python3 -m pip install -r requirements.txt
mkdir data
cp config_example.yml config.yml
- Edit
config.yml
and 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_config
sudo docker volume create twitch_mod_activity_tracker_data
sudo 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.yml
and 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