Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Walker danwalkeruk

View GitHub Profile
@danwalkeruk
danwalkeruk / reddit-feed.py
Last active Oct 27, 2021
Script to post new subreddit posts to a Discord channel via webhook
View reddit-feed.py
# reddit-feed.py - posts new subreddit posts to a Discord channel via webhook
# author: Dan Walker
# email: code@danwalker.com
# url: https://danwalker.netlify.app/python-discord-reddit-feed/
# created: 2020-08-13
import requests
import json
import time
from discord_webhook import DiscordWebhook, DiscordEmbed