dankbot

command module
v0.0.0-...-1249e4b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: MIT Imports: 12 Imported by: 0

README

# DankBot A Dank Discord Bot. See [Commands](#commands) for a list of features.

Go Report Card

Adding DankBot to a Discord Server

Simple! Just click this link and select your server


## Commands * `!help` * Shows this list of commands

Images

  • !sombra
  • !rip [name]
  • !retro [your], [text], [here]
    • Generates retro text from here. Supports up to 3 lines (comma delimited).

Text

  • !catfact
    • Responds with a random cat fact
  • !swanson
    • Response with a random Ron Swanson quote
  • !roll NdM
    • Rolls M-sided dice N times; posts the sum
  • !reddit [subreddit] [query]
    • Searches given subreddit with query and returns random top result.
    • If no query is given, returns random current top subreddit item

Note: Ignores sticky posts


## Setup and Run

This assumes you already have a working Go environment, if not please see this page first.

Download dankbot:

go get github.com/coolbrow/dankbot
cd $GOPATH/src/github.com/coolbrow/dankbot

Create token file:

Note: Client tokens are found on your Discord application page

echo YOUR_CLIENT_TOKEN > token

Run DankBot:

./run.sh

And that's it!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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