From f5e88f061387c615f22d055be4e049e9cbcbf2c1 Mon Sep 17 00:00:00 2001 From: Bobloy Date: Thu, 17 May 2018 10:34:25 -0400 Subject: [PATCH] Still not timerole --- announcedaily/announcedaily.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/announcedaily/announcedaily.py b/announcedaily/announcedaily.py index 67a0cf0..a9b3b54 100644 --- a/announcedaily/announcedaily.py +++ b/announcedaily/announcedaily.py @@ -188,7 +188,7 @@ class AnnounceDaily: await self.config.time.set({'hour': h, 'minute': m, 'second': s}) await ctx.send("Announcements time has been set to {}::{}::{} every day\n" - "Changes will apply after next announcement".format(h, m, s)) + "Changes will apply after next announcement or reload".format(h, m, s)) async def send_announcements(self): messages = await self._get_msgs() @@ -235,7 +235,7 @@ class AnnounceDaily: print("Sleeping for {} seconds".format((midnight - datetime.now()).seconds)) await asyncio.sleep((midnight - datetime.now()).seconds) - if self is not self.bot.get_cog("Timerole"): + if self is not self.bot.get_cog("AnnounceDaily"): return print("Pre-announce") await self.send_announcements()