Documentation
¶
Index ¶
- Constants
- Variables
- func HandleChallengeBuilderInteraction(store model.Store, session discord.Session, ...)
- func HandleNewDR2Challenge(session discord.InteractionResponder, interaction *discordgo.InteractionCreate)
- func HandleNewWRCChallenge(session discord.InteractionResponder, interaction *discordgo.InteractionCreate)
- func NewInvocationFromInteractionCreate(i discordgo.InteractionCreate) invocation
- func NewInvocationFromMessageCreate(m discordgo.MessageCreate) invocation
Constants ¶
View Source
const ( DisplayCompletionModalID = "completion-display-modal" DisplayTimesID = "completion-display-times" GoodID = "feedback-good" BadID = "feedback-bad" NewChallengeID = "newstage" ResponseID = "response" ChallengeID = "challenge" DR2ID = "dr2" WRCID = "wrc" NewDR2ChallengeID = NewChallengeID + idFieldDelimiter + DR2ID DR2ChallengePrefix = ChallengeID + idFieldDelimiter + DR2ID InitialDR2ChallengeResponseID = DR2ChallengePrefix + idFieldDelimiter + ResponseID NewWRCChallengeID = NewChallengeID + idFieldDelimiter + WRCID WRCChallengePrefix = ChallengeID + idFieldDelimiter + WRCID InitialWRCChallengeResponseID = WRCChallengePrefix + idFieldDelimiter + ResponseID )
View Source
const ( RandomID = "random" DryID = "dry" WetID = "wet" SubmitLocationAndStageID = "submit1" SubmitCarID = "submit2" )
Variables ¶
View Source
var (
DR2Randomiser = randomiser.NewSimple(game.DR2)
)
Functions ¶
func HandleNewDR2Challenge ¶
func HandleNewDR2Challenge(session discord.InteractionResponder, interaction *discordgo.InteractionCreate)
func HandleNewWRCChallenge ¶
func HandleNewWRCChallenge(session discord.InteractionResponder, interaction *discordgo.InteractionCreate)
func NewInvocationFromInteractionCreate ¶
func NewInvocationFromInteractionCreate(i discordgo.InteractionCreate) invocation
func NewInvocationFromMessageCreate ¶
func NewInvocationFromMessageCreate(m discordgo.MessageCreate) invocation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.