mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Add a playing game msg to cleanup bot script
This commit is contained in:
parent
71eb141093
commit
abf34dd438
@ -60,6 +60,9 @@ class Titan(discord.AutoShardedClient):
|
|||||||
print(self.user.name)
|
print(self.user.name)
|
||||||
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"])
|
||||||
|
Loading…
Reference in New Issue
Block a user