Categorygithub.com/thundergroove/stats-bot
modulepackage
0.0.0-20150825220315-75c7a9019667
Repository: https://github.com/thundergroove/stats-bot.git
Documentation: pkg.go.dev

# README

stats-bot

A slack bot that pulls player information from Planetside 2's APIs.

# Functions

Dispatch sends a message to the bot.
No description provided by the author
No description provided by the author
LookupWith looks for a character given a several paramaters TODO: Just cleaned up a bit.
ParseCommandData gets our data from the request.
No description provided by the author
RegisterCommand registers a command for the bot to dispatch.
Respond is a helper function to send text responses to the slack server.
No description provided by the author
StartHTTPServer starts an http server with handlers for all of statsbot's commands.
TODO: See if moving this to an init would break anything would look a lot cleaner.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
TODO: Rip out after we convert over to all /commands May not happen after all :(.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
true = US.

# Structs

Cmd is a command handler struct.
CommandData represents the data sent to our handlers from Slack.
Context is what's given to every command handler.
Global is the struct given to the lookup template for responses.