Runs in a Pod and is responsible for collecting metrics from the ephemeral-roles instances to update search services such as and top.
Runs in a Pod and is responsible for receiving alerts from Prometheus/ AlertManager and to act upon them by automatically causing unhealthy Pods for ephemeral-roles to restart.
If any of the Pods stop running for whatever reason, the StatefulSet will automatically restart them.
The Discord API will assign a number of the total guilds (servers) to each of the bot instances to balance the load of managing the guild events.
Then next to your servers name > click the down arrow.
A StatefulSet is used so that each Pod has a predictable name so that the bot instance can inform the Discord API which of the 10 Pods it is Solution 1 Change the Voice Server Region After having the permission to login to the Discord server.
Each Pod contains a running instance of the bot
Runs in a Kubernetes cluster as a StatefulSet of 10 Pods.
Īrchitectural diagram created with draw.io When a member changes or disconnects from voice channels, even across Discord servers, Ephemeral Roles will account for the change and automatically revoke/reissue ephemeral roles as appropriate.Įxample Usage Orange roles below are automatically managed by Ephemeral RolesĪ Prometheus and Grafana instance have been set up to monitor Ephemeral Roles metrics. This is because Ephemeral Roles leverages the Discord feature that the member list in servers will group together members by role right out of the box. If the ephemeral role doesn’t exist yet, Ephemeral Roles will create it.īy having your members auto-sorted into ephemeral roles in your member list, it’s clear to see who are available for chatting and the channels they are in. When a member joins a channel, Ephemeral Roles automatically assigns that member an ephemeral role associated with the channel.
If you’re not sure how or why to do that, take a quick read over Discord’s excellent Role Management 101 guideĪfter the Ephemeral Roles bot is invited to your Discord server, it immediately starts to watch for changes to your voice channels.
Ensure the new role for Ephemeral Roles is at the top (or as near as possible) to the server’s list of roles.
The invite link above provides that by automatically creating an appropriate role in your server for Ephemeral Roles
The ‘Manage Roles’ permission is required.
Click on the Ephemeral Roles logo head above or use this link to invite Ephemeral Roles into your Discord server.
A Discord bot for managing ephemeral roles based upon voice channel member presence.