drgob

command module
v0.0.0-...-40162fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: BSD-2-Clause Imports: 13 Imported by: 0

README

(D)iscord (r)eddit (Go) (b)ot weaaaaa

Hi everyone!

This is a discord bot that will respond with posts from an arbitrary subreddit.

Commands

;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>

Installation

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL