Update bot.py
This commit is contained in:
parent
3318a426c4
commit
d2a8c3d596
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user