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

# README

example: echo

echo is a basic Discord bot that has a simple echo command defined.

You can invoke this command with e!echo <argument>, or its alias e!e <argument>.

Additionally, there is an event handler bound which will be run on any message that is not a bot's message or itself.

run

go build

./echo -t <discord bot token>

# Variables

Variables used for command line parameters.

# Structs

EchoCmd defines a simple EchoCmd.
OnMsg will run on every message event and count the number of messages sent and seen by the session.
Prefix loads a prefix.