echo

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: 13 Imported by: 0

README

example: echo

echo is a Discord bot that has a several commands and subcommands defined.

commands

e!echo which echoes text following this command. It has the subcommands fmt and color. The subcommand fmt also has the subcommand color.

This means commands like so are valid:

e!echo fmt color blah blah blah
e!echo fmt blah blah blah
e!echo color blah blah blah
e!echo blah blah blah

e!fmt and e!color are also valid commands. Note that a space after a prefix is valid with default message parsing. fmt has the subcommand color, but color has no subcommands.

So these commands are valid:

e!fmt color blah blah blah
e!fmt blah blah blah
e!color blah blah blah

run

go build

./echo -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