🤖RIF-bot is a simple and useful discord bot that can fetch images from any subreddit and send those images in your discord channel !
Be sure to Invite the Reddit Image Fetcher Bot to your server!
This bot was built in a replit environment.
- Go to replit and make an account if you don't already have one.
- Go to
create
and then selectimport from github
- Fork this Repo and enter your forked repo's URL.
- Make your discord bot using this link.
- Enter your bot's
token
as an environment variable namedtoken
. - Run !
- Invite the RIF-bot to your discord server using this invite!
- In case the bot is offline, go to this replit and run it.
The command syntax for this bot is : ?fetch [subreddit] [number of images]
, where [subreddit]
& [number of images]
are optional parameters. Here [subreddit]
is the name of the subreddit without any r/
prefix.
For more details see the examples below-
- To get a random image navigate to any channel in your server and type
?fetch
- To get multiple random images use
?fetch [number of images]
- To get a single image from a particular subreddit type
?fetch [subreddit]
- To get a number of images from a particular subreddit use
?fetch [subreddit] [number of images]