Categorygithub.com/pythonian23/pgo
modulepackage
0.0.0-20220629163752-91be95bcedd2
Repository: https://github.com/pythonian23/pgo.git
Documentation: pkg.go.dev

# README

PGo

About

A giant PnW discord bot that I hope to finish someday.

Trivia

Most of the base code was written with Vim/Neovim on Termux, on an Android Phone.

# Packages

No description provided by the author

# Functions

AddCommand registers the given command, along with its aliases.
DeleteCommand deletes a command by name, and removes all aliases.
GetCommand gets a command by provided name.
HelpSubCommand provides help for the provided subcommand using HelpTemplate.
Parse is the entrypoint for running pgo.

# Variables

API is the API URL.
ErrorHandler is the function for handling errors.
HelpTemplate is the template for help messages.
Key is the API key.
NoCommandHandler is the function for handling commands that were requested but do not exist.
No description provided by the author

# Structs

Command is a type for pgo's subcommands.