Exception, to be thrown when there were no quotes found for a given user.
Exception, to be thrown when given search terms failed to match any stored quotes.
Exception, to be thrown when a given quote index was out of bounds.
The Quote plugin provides the ability to save and replay user quotes.
Fetches a quote given an index.
Fetches a Quote whose line matches the passed search terms.
Fetches a random Quote from an array of such.
Produces a time string from a UNIX timestamp with the provided time precision.
Reads and writes the file of quotes to disk, ensuring that it's there.
Loads quotes from disk into an associative array of Quotes.
Adds a quote to the local storage.
Deletes a quote, given its index in the storage.
Merges all quotes of one user to that of another.
Modifies a quote given its index in the storage.
Replies with a quote, either fetched randomly, by search terms or by stored index.
Initialises the passed QuotePlugin. Loads the quotes from disk.
Reloads the JSON quotes from disk.
Removes the WeeChat timestamp and nickname from the front of a string.
Saves quotes to disk in JSON file format.
Performs self-tests against another bot.
Sends a Quote to a channel.
Embodies the notion of a quote. A string line paired with a UNIX timestamp.
All settings for a Quote plugin, gathered in a struct.
Functions that send common brief snippets of text to the server.
The Quote plugin allows for saving and replaying user quotes.
On Twitch, the commands do not take a nickname parameter; instead the owner of the channel (the broadcaster) is assumed to be the target.