diff --git a/discordbot/config.example.py b/discordbot/config.example.py index 7fda5e8..67e7003 100644 --- a/discordbot/config.example.py +++ b/discordbot/config.example.py @@ -2,4 +2,6 @@ config = { 'bot-token': "Discord bot token", 'database-uri': "driver://username:password@host:port/database", + + 'errorreporting-channelid': "", } \ No newline at end of file diff --git a/discordbot/titanembeds/bot.py b/discordbot/titanembeds/bot.py index 00c551a..25d4129 100644 --- a/discordbot/titanembeds/bot.py +++ b/discordbot/titanembeds/bot.py @@ -56,7 +56,7 @@ class Titan(discord.Client): else: await self.send_message(error_channel, "Titan has lost connection to the database! Don't panic!! We'll sort this out... hopefully soon.") last_db_conn_status = self.database_connected - await asyncio.sleep(4) + await asyncio.sleep(60) def run(self): try: