package
0.0.0-20230413073442-daa8be93d0fd
Repository: https://github.com/janitorjeff/jeff-bot.git
Documentation: pkg.go.dev

# Functions

AudioFFmpegBufferPipe will pipe audio coming from a buffer into ffmpeg and transform into audio that the speaker can transmit.
AudioFFmpegCommandPipe works exactly like FFmpegBufferPipe except it accepts a command instead of a buffer.
Monitor incoming messages until `check` is true or until timeout.
CacheScope returns the scope by looking it up in the cache, if it doesn't exist then it fetches it from the DB using getScope and then caches it.
Clean returns a string with every character except the ones in the a-z, A-Z and 0-9 ranges stripped from the passed string.
No description provided by the author
No description provided by the author
Format will return a string representation of the given command in a format that can be shown to a user.
IsValidURL returns true if the provided string is a valid URL with an http or https scheme and a host.
No description provided by the author
No description provided by the author
No description provided by the author
Returns the given place's prefixes and also whether or not they were taken from the database (if not then that means the default ones were used).
Splits a message into submessages.
No description provided by the author

# Constants

Bot admin only command used to perform actions like setting an arbitrary person's options, etc.
The full command and usually consists of many subcommands which makes it less intuitive for the average person.
The command types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A simplified command with might not give full control over something but it has a very easy to use API.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Hooks are a list of functions that are applied one-by-one to incoming messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

A select with multiple ready cases chooses one pseudo-randomly.
No description provided by the author
CommandRuntime holds a command's runtime information.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OAuth state parameter.

# Interfaces

No description provided by the author
Author is the interface used to abstract a frontend's message author.
CommandStatic is the the interface used to implement commands.
No description provided by the author
Here is the interface used to abstract the place where message came from, e.g.
The frontend abstraction layer, a frontend needs to implement this in order to be added.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author