Hi everyone!
This is a discord bot
that will respond with posts
from an arbitrary subreddit.
;help Display the help message
;h (same as help)
;queryrandom <subreddit name> <optional: default:new | hot | rising | controversial | top>
;qr <same as queryrandom>
;explore <query to search for subreddits>
;ex <same as explore>
;x <same as ex>
If you want to run it by yourself (instead of invite the official (my bot) to your server), you the following:
-
Discord bot
token
-
Reddit account
-
Create Reddit application (app token and secret)
-
Install the bot
go get github.com/jcatala/drgob
Create the .env
file with the following content
discord_key=discord_key
reddit_username=reddit_username
reddit_password=reddit_password
reddit_id=reddit_app_id
reddit_secret=reddit_app_secret
Run the bot
drgob -verbose