No description
This repository has been archived on 2025-08-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2024-10-14 10:00:16 +00:00
.gitignore initial commit 2024-06-16 21:09:32 +03:00
common.py update room id 2024-07-27 16:24:42 +03:00
discord-watcher.service wait 5 seconds between restarts 2024-06-26 00:25:30 +03:00
LICENSE Add LICENSE 2024-10-14 10:00:16 +00:00
login.py initial commit 2024-06-16 21:09:32 +03:00
main.py don't write anything if same channel 2024-06-16 23:10:05 +03:00
README.md initial commit 2024-06-16 21:09:32 +03:00
requirements.txt initial commit 2024-06-16 21:09:32 +03:00

discord-watcher

Bot that watches a Discord voice channel and notifies a Telegram group when someone joins/leaves

Prerequisites

  • pacman -S libolm
  • pip -r requirements.txt

Configuring

  • Run login.py once to generate credentials file
  • Add "discord_token": "YOUR_TOKEN_HERE" to credentials.json
  • Invite the bot account to the room (you have to accept the invite manually)
  • Set room ID in common.py

Running

  • main.py -- run bot
  • discord-watcher.service is a systemd unit that starts main.py