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
# Loops through a 2d array like: (1. Subredit name 2. Discord webhook link 3. Type: Hot | New | Top | Rising) and performs the actions to post the posts to the webhooked discord server. also changed the 1second wait to 2 seconds as i was still seeing the web request error. | |
import requests | |
import json | |
import time | |
from discord_webhook import DiscordWebhook, DiscordEmbed | |
i = 0 | |
def right(value, count): |