BotMine›Developer Docs›Presence
Lua Addon SDK
Presence
Setze Status und Activity des Bots.
Activity setzen
luadiscord.setActivity("WATCHING", "über den Server")
Activity-Typen:
PLAYINGWATCHINGLISTENINGSTREAMINGCOMPETING
Presence setzen
luadiscord.setPresence({ status = "ONLINE", activity = { type = "PLAYING", name = "BotMine" } })
Online-Status:
ONLINEIDLEDO_NOT_DISTURBINVISIBLEOFFLINE
Activity entfernen
luadiscord.clearActivity()