mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +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(self.user.id)
|
||||||
print('------')
|
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:
|
try:
|
||||||
await self.database.connect(config["database-uri"])
|
await self.database.connect(config["database-uri"])
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
Reference in New Issue
Block a user