Presence Configuration - axieum/MDC GitHub Wiki
What is a Bot Presence?
A Discord Bot has a presence/status just like every user, this is shown under their name (e.g. "Playing Minecraft").
Example
Configuring multiple presence entries will cause the Bot to rotate periodically through the various presences.
#General configuration
[general]
#Discord bot configuration
[general.bot]
#Bot presence update interval (in seconds)
#Range: 12 ~ 9223372036854775807
presence_interval = 12
#Presence definitions
[general.bot.presences](/axieum/MDC/wiki/general.bot.presences)
#Presence name (i.e. "... name")
#Allowed Values: DATETIME|format, UPTIME|format, PLAYER_COUNT, MAX_PLAYERS, MOTD, TPS, TPS_TIME, WORLD
name = "for {{UPTIME}}"
#Presence type (i.e. "Playing ...")
#Allowed Values: DEFAULT, STREAMING, LISTENING, WATCHING
type = "DEFAULT"
[general.bot.presences](/axieum/MDC/wiki/general.bot.presences)
#Presence name (i.e. "... name")
#Allowed Values: DATETIME|format, UPTIME|format, PLAYER_COUNT, MAX_PLAYERS, MOTD, TPS, TPS_TIME, WORLD
name = "{{PLAYER_COUNT}} players"
#Presence type (i.e. "Playing ...")
#Allowed Values: DEFAULT, STREAMING, LISTENING, WATCHING
type = "WATCHING"
[general.bot.presences](/axieum/MDC/wiki/general.bot.presences)
#Presence name (i.e. "... name")
#Allowed Values: DATETIME|format, UPTIME|format, PLAYER_COUNT, MAX_PLAYERS, MOTD, TPS, TPS_TIME, WORLD
name = "Minecraft"
#Presence type (i.e. "Playing ...")
#Allowed Values: DEFAULT, STREAMING, LISTENING, WATCHING
type = "STREAMING"
#Presence url
url = "https://www.twitch.tv/minecraft"
[general.bot.presences](/axieum/MDC/wiki/general.bot.presences)
#Presence name (i.e. "... name")
#Allowed Values: DATETIME|format, UPTIME|format, PLAYER_COUNT, MAX_PLAYERS, MOTD, TPS, TPS_TIME, WORLD
name = "{{TPS}} TPS"
#Presence type (i.e. "Playing ...")
#Allowed Values: DEFAULT, STREAMING, LISTENING, WATCHING
type = "LISTENING"
The above presence entries have the following effect:
