Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApplicationCommands []*discordgo.ApplicationCommand
View Source
var Classes = store.Classes
View Source
var Color color = color{Default: 0xf62dcd, Error: 0xf32917, Blue: 0x17caf3}
View Source
var Commands = []*discordgo.ApplicationCommand{ { Name: "ping", Description: "Ping Pong.", DMPermission: &dmPermission, }, { Name: "register", Description: "Register into Kiko", DMPermission: &dmPermission, }, { Name: "profile", Description: "View your profile on Kiko", DMPermission: &dmPermission, }, { Name: "explore", Description: "Explore the floor you are on", DMPermission: &dmPermission, }, { Name: "inventory", Description: "View the items you have", DMPermission: &dmPermission, }, { Name: "move", Description: "Move to a different floor in the tower", DMPermission: &dmPermission, Options: []*discordgo.ApplicationCommandOption{ { Name: "floor", Type: discordgo.ApplicationCommandOptionInteger, MinValue: &towerMinFloor, Description: "The floor number", Required: true, }, }, }, { Name: "battle", Description: "Start a battle using a battle card", DMPermission: &dmPermission, Options: []*discordgo.ApplicationCommandOption{ { Name: "id", Type: discordgo.ApplicationCommandOptionInteger, MinValue: &towerMinFloor, Description: "The id of the battle card (You can find the id using the /inventory command)", Required: true, }, }, }, }
View Source
var DevGuild = "983931249456455720"
View Source
var RegisterCommand string
View Source
var Weapons = store.Weapons
Functions ¶
func GetEnemyEmbed ¶
func GetEnemyEmbed(enemy *EnemyStruct) *discordgo.MessageEmbed
Types ¶
type EnemyStruct ¶
func GetRandomEnemy ¶
func GetRandomEnemy() *EnemyStruct
Click to show internal directories.
Click to hide internal directories.