Documentation
¶
Index ¶
- Constants
- func InitializeWebhooks()
- func SendBackupWebhook(successful bool, failureError ...error) error
- func SendClanFirstPlaceWebhook(clan *db.Clan, mapQua *db.MapQua, newScore *db.ClanScore, ...) error
- func SendClanRankedWebhook(mapQua *db.MapQua) error
- func SendCrashLogWebhook(user *db.User, log *db.CrashLog) error
- func SendErrorEventWebhook(title string, message string) error
- func SendOrderWebhook(purchasedOrders []*db.Order) error
- func SendQueueSubmitWebhook(user *db.User, mapset *db.Mapset) error
- func SendQueueWebhook(user *db.User, mapset *db.Mapset, action db.RankingQueueAction) error
- func SendRankedWebhook(mapset *db.Mapset, votes []*db.MapsetRankingQueueComment) error
- func SendSupervisorActivityWebhook(results map[*db.User]int, timeStart int64, timeEnd int64) error
Constants ¶
View Source
const (
QuaverLogo string = "https://i.imgur.com/DkJhqvT.jpg"
)
Variables ¶
This section is empty.
Functions ¶
func InitializeWebhooks ¶
func InitializeWebhooks()
func SendBackupWebhook ¶
func SendClanRankedWebhook ¶
func SendErrorEventWebhook ¶
SendErrorEventWebhook Sends a webhook to the events channel with a custom message
func SendOrderWebhook ¶
func SendQueueSubmitWebhook ¶
SendQueueSubmitWebhook Sends a webhook displaying that the user submitted a mapset to the ranking queue
func SendQueueWebhook ¶
SendQueueWebhook Sends a ranking queue webhook
func SendRankedWebhook ¶
func SendRankedWebhook(mapset *db.Mapset, votes []*db.MapsetRankingQueueComment) error
SendRankedWebhook Sends a webhook that a new mapset was ranked
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.