rich presence!!

This commit is contained in:
Hailey
2020-10-10 08:43:22 +10:00
parent 67abf35a28
commit 995fd7fee9
7 changed files with 311 additions and 3 deletions

View File

@@ -6,8 +6,13 @@ local main_menu_screens = {
ExitScene,
}
local mainmenuidle = {"Idle", "Twiddling their thumbs", "Admiring the main menu's BG", "Waiting for spring to come"}
function TitleScene:new()
self.main_menu_state = 1
presence.details = "In menus"
presence.state = mainmenuidle[math.random(#mainmenuidle)]
discordRPC.updatePresence(presence)
end
function TitleScene:update()