Closed Defelo closed 2 years ago
In which file we have make changes?
In which file we have make changes?
https://github.com/PyDrocsid/cogs/blob/develop/integrations/reddit/cog.py
Actually, I am not getting what changes we have to do?
The function get_subreddit_name
in line 38 takes the name of a subreddit and returns its display name. What should be changed is that if the parameter starts with the /r/
or r/
prefix, this prefix should be removed before putting it into the url in line 41.
Got it. I would like to do it. Please assign me this task.
Allow usage of the
/r/
prefix for subreddits in.reddit +
and.reddit -
.