Discord is a great platform for text and voice chatting. However, one feature has been seriously lacking for a while now: the ability to see a log of people joining and leaving voice chat rooms.
Luckily, Discord provides a way to create bots. These bots have access to a variety of events occurring on a Discord server, including voice chat events. Of specific interest to us, bots can track events of people joining and leaving voice chat rooms.
I set out to create a simple bot able to log these events to a specific Discord channel. I programmed the bot in Python, using the discord.py library (v0.16.7). My code is open source and available on github. See the bot in action in the video below:
If you’d like to use this bot, feel free to use the code provided; you’ll probably need to create a new developer application on Discord and turn it into a bot user, and read the read-me.
3 thoughts on “A Bot to Log Discord Voice Events”
Hello recently i was trying to program the bot and i did. but here I’m having a problem and i hope you can help me as fast as you can + explain it to me so i learn, with the solution. Thank you.
Forgot to show you the problem sorry.. ( https://i.imgur.com/saeBNLC.png )
btw the bot is working and online! but the problem is when i enter the voice doesn’t show the message from the bot in the “voice-log”
Did you ever work this out?