package
2.1.0
Repository: https://github.com/pixeltopic/sayori.git
Documentation: pkg.go.dev

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

# Variables

Variables used for command line parameters.

# Structs

Parse is a command that will attempt to parse an alias that has a whitespace.
Prefix loads a prefix.