From abf34dd4380c258c38f53e1191f9465deba7082e Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 25 Jun 2018 06:41:26 +0000 Subject: [PATCH] Add a playing game msg to cleanup bot script --- discordbot/cleanup_db_messages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discordbot/cleanup_db_messages.py b/discordbot/cleanup_db_messages.py index 2267d01..9e132f8 100644 --- a/discordbot/cleanup_db_messages.py +++ b/discordbot/cleanup_db_messages.py @@ -60,6 +60,9 @@ class Titan(discord.AutoShardedClient): print(self.user.name) 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"])