Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DiscordToken string `split_words:"true" required:"true"` DiscordWebhookPubkey string `split_words:"true" required:"true"` MinecraftServerName string `split_words:"true" required:"true"` MinecraftServerHost string `split_words:"true" required:"true"` RconPassword string `split_words:"true" required:"true"` RconHostport string `split_words:"true" required:"true"` DiscordGuildId string `split_words:"true" required:"true"` }
type InteractionHandler ¶
type InteractionHandler func(http.ResponseWriter, discordgo.Interaction, *discordgo.Session)
Click to show internal directories.
Click to hide internal directories.