
let the users additionally specify which raffle win they would like by e.g. Since addquote usually uses all its parameters as the text to use as a quote, we just replace the first parameter with the user name. $USERNAME is a special word that is replaced with the name of the user who sent the command. $ followed by a number stands for a parameter given to the command (i.e. The pattern is a comma-separated list of statements that say which parameters that were given to the command by the users, should be handed off as which parameters of the addquote command. To add a quote (add a user), write !addname.īut since !addname would just add an empty quote, we use addcommandpattern, which rewrites the command's parameters. To randomly pick a quote (a winner) you can use the chat command !draw. This is basically the same as the quote command above: It defines a list of quotes that will be written in the rafflepool.txt file in the data folder.

A quote command's info.ini file looks like this: Quote CommandĪ quote command makes the bot output a random line from a text file when used, and optionally lets viewers add new quotes using a separate command. There is also a special subfolder named data which the commands can use to store user data (for example, the quote command uses this to save the list of quotes in a text file named after the command, e.g. Each folder contains an info.ini file describing the command's settings. That folder contains a subfolder for each command, named after the command. CommandsĬommands are kept in a folder you specify to the server (By default, this is ~/Application Support/vanguardbot/ on macOS). If anyone is more familiar with entitlements under Windows, help would be appreciated. I started creating a Visual Studio Solution for Windows, but can't get the entitlements to work. Right now the only working version of Vanguardbot is for macOS. Built-in OAuth login support (at least for GUI).Commands for setting the game and stream title on Twitch based on presets.

