Function pikadick::commands::reddit_embed::parse_post_url
source · pub fn parse_post_url(url: &Url) -> Option<(&str, &str)>
Expand description
Gets the subreddit and post id from a reddit url.
Returns
Returns a tuple or the the subreddit and post id in that order.