mirror of https://github.com/stijndcl/didier
Change announcements channel
parent
db0e7b8f9b
commit
981f7a1457
|
@ -249,8 +249,7 @@ class Tasks(commands.Cog):
|
||||||
announcements = ufora_notifications.run()
|
announcements = ufora_notifications.run()
|
||||||
|
|
||||||
if announcements:
|
if announcements:
|
||||||
# TODO change to COC Bot testing if it works
|
announcements_channel = self.client.get_channel(816724500136591380)
|
||||||
announcements_channel = self.client.get_channel(int(constants.ZandbakSpeeltuin))
|
|
||||||
|
|
||||||
for an in announcements:
|
for an in announcements:
|
||||||
await announcements_channel.send(embed=an.to_embed())
|
await announcements_channel.send(embed=an.to_embed())
|
||||||
|
|
Loading…
Reference in New Issue