async def ready(self): print("ready") activity = Data.get_activity(self, self.name) await self.set_presence(activity) chosen = Data.one_liner await self.send("online log", chosen.replace("%", self.name)) return
async def ready(self): # a callback for when the bot is ready print("ready") # sets presence for the bot activity = Data.get_activity(self, self.name) await self.set_presence(activity) # announce thyself chosen = Data.one_liner # this starts to get annoying while testing await self.send("online log", chosen.replace("%", "Providence")) return