mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Add a playing game msg to cleanup bot script
This commit is contained in:
parent
71eb141093
commit
abf34dd438
@ -61,6 +61,9 @@ class Titan(discord.AutoShardedClient):
|
||||
print(self.user.id)
|
||||
print('------')
|
||||
|
||||
game = discord.Game(name="Titan is currently down for database maintenances. Bookmark https://TitanEmbeds.com/ for later access to our services!")
|
||||
await self.change_presence(status=discord.Status.do_not_disturb, activity=game)
|
||||
|
||||
try:
|
||||
await self.database.connect(config["database-uri"])
|
||||
except Exception:
|
||||
|
Loading…
Reference in New Issue
Block a user