package
3.36.0+incompatible
Repository: https://github.com/ritsec/ops-bot-iii.git
Documentation: pkg.go.dev
# Functions
AtRole returns a string that mentions a role.
AtUser returns a string that mentions a user.
BuildOBIII builds the OBIII binary.
Choose returns a random item from a slice.
Contains returns true if a slice contains an item.
EmliminationPool returns the options with the lowest count in a round.
Exit restarts the OBIII service.
IndexOf returns the index of an item in a slice.
IsEmpty returns true if a slice is empty.
IsNotEmpty returns true if a slice is not empty.
IsUnique returns true if all items in a slice are unique.
JumpURL returns the URL to jump to a message.
JumpURLByID returns the URL to jump to a message.
Remove removes an item from a slice.
SelectButtons sends a message with buttons to select from.
SelectButtonsEdit edits a message with buttons to select from.
SendDirectMessage sends a direct message to a user.
SendDirectMessageWithFile sends a direct message to a user with a file.
Return array of all signin types (update return array length).
Converts signin type string to signin type.
UpdateMainBranch switches to the main branch, fetches from origin, pulls from origin, and returns true if an update was pulled.