Get RedditBot in your discord here.
Bot Commands:
/random - random post from random subreddit
/list - show the list of subreddits
/add - add subreddit to the list
/remove - remove subreddit from the list
/sub <subreddit> - random post from <subreddit>
-
Compile and run the project.
TOKEN=abc123 go run main.go
-
Alternatively, build and run the project inside of a container.
docker build -t redditbot . && docker run -d --env TOKEN='abc123' redditbot