# Functions
AddBoardMember - Add a trello member to a board.
AddDBUser - Put user data into DB.
AlertRunner - Run the alerts in Planning / Next Sprint / Ready for Work / Working.
ArchiveBacklog - Archive old cards in the backlog.
ArchiveChannel - archive a slack channel created by bot and return payload.
AssignCollection - Assign a board to a speific collection (via its ID).
Between - find string between two chars.
BotActions - TikTokConf Actions based on commands.
BuildConfig - grab UID's out of trello to help setup config files.
CardPlay - Pull card timing data and dump to CSV.
CardPosition - change card position.
ChannelInvite - Invite a user to a specific channel.
ChannelList - Return slice of slack channels.
ChannelTopicSet - Set topic in a channel.
ChapterCount - Card count by chapter on given list.
ChapterPoint - Point count by chapter on given list.
CheckActionCards - Loop through retro boards and verify all retro cards are checked for in-action.
CheckBugs - Check for bugs and alert on them.
CheckThemes - Check that cards in a specific list have Theme Labels, returns formatted output.
CleanBackLog - Clean-up BackLog.
CleanDone - Clean Done column of old cards.
CommentCard - add a comment to a card.
ConnectDB - establish gsql connection to db.
CountCards - function to count # of cards per theme in pre-sprint columns for reporting.
CreateBoard - adlio doesn't have this function so here it is.
CreateCard - custom card creation.
CreateChannel - create a slack channel and return the payload.
CreateList - adlio doesn't have this function so here it is.
CronLoad - Load or re-load all cron jobs.
DownloadFile - download (stream copy) a file from a URL to the local file system.
DupeTable - Duplicates table inside CloudSQL DB.
DupeTrelloBoard - Duplicate an entire trello board and assign it to the Dupe Collection.
EpicLink - Verify feature cards are linked to Epics.
FindToml - Get list of TOML files.
GetAllPoints - GetAll Points in a sprint.
GetAttachments - get trello card attachment data.
GetBoardCustoms - grab all custom fields on a board.
GetBoardLabels - grab all labels on a board.
GetBugID - get all Bug label IDs for a given board.
GetCardAction - retrieve card actions.
GetCardComments - retrieve all comments on a given trello card.
GetCardListHistory - return list history of a card.
GetCardPoints - Get the points on a card from the power-up.
GetColumn - determine which column was specified in a request (Default: BackLog).
GetCreateDate - Retrieve creation date of a trello card.
GetDBChapters - get all chapters and label IDs in db.
GetDBSprint - Get sprint data out of DB.
GetDBSquads - get all squads and label IDs in db.
GetDBUsers - get all users.
GetDescHistory - retrieve card description history.
GetHoliday - Get List of Holidays in SQL DB.
GetIgnoreLabels - get all label IDs that should be ignored for a board.
GetLabel - Get labels on a board.
GetLists - Get all lists data in a board.
GetMemberInfo - get members data.
GetPowerUpField - adlio/trello doesn't support Powerup/Plugin card fields, so buildling this function to add that.
GetPreviousSprintPoints - Retrieve Previous sprint data from CloudSQL.
GetRetroID - Get all retro board IDs into one slice.
GetSquadMembership - Get list of squads a user is part of in a given sprint.
GetTimePutList - Get datetime card was last put in a given list.
GetUser - get a user from DB.
GetWBoards - search and retrieve all Trello boards in organization that have {W} in the title.
GitPR - retrieve a single PR in a repo.
GitPRList - retrieve all PRs in a repo.
Help - Help return message.
HolidayTroll - TikTok Holiday messaging Cron.
IsHoliday - Check for Holidays in SQL DB.
LabelIgnore - add a label to the ignore table.
ListAllTOML - list all the available TOML files in a string.
LoadConf - load a teams conf file to do something.
LoadConfig - load toml config file.
LoadCronFile - CRON Tabs.
LoadTikTokConf Main Config.
LogToSlack - Dump Logs to a Slack Channel.
MoveCardList - Move a card to a different list.
Permissions - determine if user has permissions to do something.
PointCleanup - module to syncronize points between Plugins and Customfields.
PostSnippet - Post a snippet of any type to slack channel.
PRSummary - Summarize PR Column.
PutCardData - put card data to DB instead of CSV.
PutCustomField - Write data to custom card fields power-up.
PutDBSprint - Put sprint data into DB.
PutThemeCount - Update board theme counts for reporting.
RecordChapterCount - Record points for sprint per squad.
RecordChapters - Record Chapter card info to SQL DB per specified column/list.
RecordSquadSprintData - Record points for sprint per squad.
RemoveHead - Remove member from trello card.
ReOrderCardInList - Change placement of a card in a list newPos == "top", "bottom" or positive float.
Responder - check for chatty messages that need responses not actions.
RetrieveAll - Get all board data (cards/lists/etc) whichCards == none / all / closed / open / visible per https://developers.trello.com/reference#cards-nested-resource.
RetrieveOrgRepo - retrieve list of repositories for an Organization.
RetrieveRepo - retrieve list of repositories for the API user.
RetrieveUsers - retrieve list of Users.
RetroCheck - Check a specified Retro board for un-finished action cards.
SanityCheck - Check for Valid Config file.
Send - send message.
SendAlert - send a slack alert message about a sprint meeting reminder (standup/demo/retro/wdw).
SkipColumn - check if a card was ever in a specific column.
SkippedPR - Alert if cards have skipped PR column.
SliceExists - Determine if value is in a slice.
Sprint - Verify sprint is acceptable to execute then do or do not.
SprintSquadPoints - Determine squad points used on a specific sprint by sprint name.
SquadPoints - retrieve all the squad points on a board.
StalePRcards - Check for cards that are aged out in the PR column.
StandardCron - Execute requested cron job.
Startup - Startup stuff.
SyncPoints - sync points between Agile power-up and custom field in the provided column.
TemplateCard - Check for template cards and move them to top of backlog.
ThemePoints - retrieve all the theme points in a given trello colum (list).
UnArchiveChannel - un-archive a slack channel and return payload.
Wrangler - wrangle slack calls.
WranglerDM - Send chat.Post API DM messages "as the bot".
# Variables
AllowMembersLabel - Default label name for cards to ignore "face"/"owner" alerts.
BacklogName - Default name of Backlog List.
DoneName - Default name of Done List.
LabelRO - Default name of Roll-over Label.
NextSprintName - Default name of Next Sprint List.
ReadyForWork - Default name of Ready for Work List.
RFRName - Default name of PR List.
Scoped - Default name of Backlog List.
SilenceCardLabel - Default label name for label that will disable 98% of tiktok monitoring/alerting.
SprintName - Default name of custom Field for sprint name.
SprintPoints - Default name of custom field for story points.
TemplateLabelID - Default label name of Template cards.
TrainingLabel - Default label name for training cards.
Upcoming - Default name of Upcoming/Un-Scoped List.
WorkingName - Default name of Working List.
# Structs
Attachment - struct.
AttachmentPreview - struct for attachment preview data.
BasicSlackPayload - returns most basic slack response payload.
BoardData - struct for nested Board/List/Card API call.
Boards - struct to create trello boards.
BotDMPayload - struct for bot DMs.
BugLabel - Bug Label Information.
CardAttachment - struct for card attachment data.
CardData struct.
CardReportData - Card Information.
ChannelListPayload - return payload containing list of slack channels.
ChannelRespPayload - return payload from slack channel creation.
Chapter - Chapter Information.
Config - Struct of option file sections.
ConfigMe struct for passing config data around.
Cronjobs struct.
Customs struct.
Field - struct.
GeneralOptions struct for configs.
Holiday - Struct for Holiday data.
Labels struct.
Member - data struct.
Payload - struct.
PluginCard - PowerUp Plugin Struct.
PointsHistory struct for managing points and points history for plugin.
PValue custom field value struct.
RetroStruct - struct of Retro Board UIDs.
SprintData - DB Storage struct.
SprintPointsBySquad - Sprint Points by Squad.
Squad - Squad Information.
Theme - struct of theme points.
TikTokConf - Struct of tiktok conf file section.
TikTokStruct primary configuration struct.
UserData - Matrix of user accounts.
# Type aliases
CardAction - struct for holding card actions.
CardComment - struct for managing trello card comments.
CardDescHistory - struct to contain description history of any given trello card.
CardListHistory - struct to contain list history of any given trello card.
Chapters - array of Chapter.
CustomCollection - handles mutiple custom fields.
LabelCollection - handles multiple plugin types per board.
ListData - struct of board lists data.
PluginCollection handles multiple plugin types per board.
Squads - array of squad.
Themes - array of theme structs.
TotalSprint - array of SprintPointsBySquad.