Update bot.py

This commit is contained in:
Seraphim R.P 2020-06-24 14:37:48 -04:00 committed by GitHub
parent 3318a426c4
commit d2a8c3d596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class OrthoBot(discord.AutoShardedClient):
for item in results: for item in results:
if "channel" in item and "time" in item: if "channel" in item and "time" in item:
channel = self.fetch_channel(int(item["channel"])) channel = await self.fetch_channel(int(item["channel"]))
daily_time = item["time"] daily_time = item["time"]
current_time = datetime.datetime.utcnow().strftime("%H:%M") current_time = datetime.datetime.utcnow().strftime("%H:%M")