DiscLoBot
Selfhosted Discord Logging Bot for Discord --> Github
Features
- Logs people Join and Leave any voicechannel in your Discord server.
- Logs people Mute and Unmute their mic.
- Logs people moving between voicechannels.
- Create beautifully formatted messages of people joining voicechannels:
Now what?
By combining this with a Discord node in Node-Red we can read these events and create automations based on them. For example changing the color of your light or ledstrip when you mute and unmute. Or let Google Home announce when your best friend joins a voicechannel in your Discord.
Installation
I will look into making installation on an Hassio system possible. For now you need a system where you have full acces to. You can find the installation instructions here.
Extra: Controlling Home-Assistant devices within Discord and getting sensor information
Included are some examples on how the Discord node in Node-Red can be used to control lights, switches and scripts and can send sensor information on request. For this the DiscLoBot is not necessary.
Basically you can create a complete Discord bot in Node-Red.
Other Discord Bots
There are public bot’s which have same functionality as this bot, but i found the ones i used unreliable. it was sometimes not working or the message was really late.
A good selfhosted bot with a lot of functionality is Red Discord Bot. Plugins for this bot can also be made which makes it easier to integrate new functions to the bot. But i couldn’t find any plugin which does the logging DiscLoBot does. I will also look to integrate the functions of DiscLoBot trough a Redbot plugin.