This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |