Made for the Rooster Teeth/Let's Play family of Discord Servers, but feel free to use and modify it for anything.
I barely know python, so this is probably hacked together just barely enough to function...
Come join us on Discord:
Rooster Teeth Community
FunHaus Community
Achievement Hunter Community
Cow Chop Community
Kinda Funny
The Creatures Community
Game Attack/ScrewAttack G1
RTX 2017
Community Bite
/r/RWBY
Red vs. Blue
Huge shoutout to Nick Molloy for making the API interface. It's hard to believe that a company as large as Rooster Teeth doesn't have a documented API or public feeds available for their content, and his python script does the job perfectly.
####Setup:
- First you'll need to make sure you have rt_api by Nick Molloy installed. In Terminal run:
pip install rt_api
- Next, open up vidfeed.settings
- Replace
<Website>
on line 2 with the name of the site you want to pull videos from. Available options:RoosterTeeth
AchievementHunter
FunHaus
ScrewAttack
GameAttack
TheKnow
CowChop
- Blank - This will feed you videos from ALL the above sites
- Replace
<Username>
and<Password>
on lines 4 and 6 with the username/password of an account on RoosterTeeth.com that has a FIRST Subscription (This is necessary to retrieve links to FIRST-exclusive content. If you filter out FIRST content, you don't need to provide these.) - Replace
<Main Feed Channel Webhook URL>
on line 8 with the Webhook URL that Discord gives you in the channel you want all non-FIRST videos to be linked in - Replace
<FIRST Feed Channel Webhook URL>
on line 10 with the Webhook URL that Discord gives you in the channel you want all FIRST-exclusive videos to be linked in - Replace
<Webhook Avatar URL>
on line 12 with the URL of the image you want to be the avatar of the bot when it posts in your Discord channels - If you want to filter out non-FIRST content, change line 15 to be
aI00
- If you want to filter out FIRST Exclusive content, change line 16 to be
aI00
- After all this, your vidfeed.settings should look something like this:
S'RoosterTeeth' p1 aS'firstSubscriber' p2 aS'ispasswordastrongpassword' p3 aS'https://discordapp.com/api/webhooks/lots of random numbers and letters' p4 aS'https://discordapp.com/api/webhooks/lots of random numbers and letters' p5 aS'http://placekitten.com.s3.amazonaws.com/homepage-samples/200/286.jpg' p6 aI0 aI01 aI01 a.```
- Replace
- After that, you just have to set up a cron job (or other persistent timer) to keep running the script