parse

command
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

README

example: parse

parse is a basic Discord bot demonstrates Sayori's custom message parsing support.

When ^foo bar or ^foo foo is invoked, it will match with an alias. However, ^foo bar (with more than 1 whitespace in between) and ^foo for example will not get matched.

Any errors that occur in parsing can be handled by Resolve. Note that if you have multiple commands which produce parse errors with a single invocation, all of their respective Resolve handlers will be run.

run

go build

./parse -t <discord bot token>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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