diff --git a/suchwow/discord.py b/suchwow/discord.py index 6ac5ba6..fa9eaa2 100644 --- a/suchwow/discord.py +++ b/suchwow/discord.py @@ -16,4 +16,6 @@ def post_discord_webhook(post): discord_webhook_url = config.DISCORD_URL r = requests.post(discord_webhook_url, data=msg) r.raise_for_status() + post.to_discord = True + post.save() print(f"Posted #{post.id} to Discord")