This command will return a total of 10 posts from r/aww. 3 posts from /popular, 3 from /new, 1 random post, and 3 posts returned from the query "basset hound". Both /popular and the search will use all posts as opposed to posts today, this week, this month, etc.
Contributions
Big thanks to @cchauser for pairing up to assist me with the listener.service RegEx. 💯
Overview
Using the Reddit API, through
snoowrap
, created a reddit command to link Reddit posts in a Discord channel.Sample Command
This command will return a total of 10 posts from
r/aww
. 3 posts from/popular
, 3 from/new
, 1 random post, and 3 posts returned from the query "basset hound". Both/popular
and the search will use all posts as opposed to posts today, this week, this month, etc.Contributions
Big thanks to @cchauser for pairing up to assist me with the
listener.service
RegEx. 💯