A user might send a /libreddit command that is replying to a message that uses reddit.com domain. The bot should output the same link, but convert reddit.com into libreddit.teknologiumum.com. Should fail (do nothing or send a message) if the link is not a proper reddit.com URL. This should includes old.reddit.com links.
A user might send a
/libreddit
command that is replying to a message that usesreddit.com
domain. The bot should output the same link, but convertreddit.com
intolibreddit.teknologiumum.com
. Should fail (do nothing or send a message) if the link is not a properreddit.com
URL. This should includesold.reddit.com
links.Sample usage:
Sample links:
https://old.reddit.com/r/Music/comments/zr4vhy/the_transsiberian_orchestra_is_like_the_harlem/j1253kn/
https://www.reddit.com/r/ProgrammingLanguages/comments/zta49c/go_is_modern_php