Documentation ¶
Index ¶
- Constants
- func RegisterPlugin()
- type Plugin
- func (p *Plugin) AddCommands()
- func (p *Plugin) BotInit()
- func (p *Plugin) PluginInfo() *common.PluginInfo
- func (p *Plugin) SessionForGuild(guildID int64) *discordgo.Session
- func (p *Plugin) ShardMigrationReceive(evt dshardorchestrator.EventType, data interface{})
- func (p *Plugin) ShardMigrationSend(shard int) int
- func (p *Plugin) Status() (string, string)
Constants ¶
View Source
const ShardMigrationEvtGame = 110
Variables ¶
This section is empty.
Functions ¶
func RegisterPlugin ¶
func RegisterPlugin()
Types ¶
type Plugin ¶
type Plugin struct {
Manager *cardsagainstdiscord.GameManager
}
func (*Plugin) AddCommands ¶
func (p *Plugin) AddCommands()
func (*Plugin) PluginInfo ¶
func (p *Plugin) PluginInfo() *common.PluginInfo
func (*Plugin) ShardMigrationReceive ¶
func (p *Plugin) ShardMigrationReceive(evt dshardorchestrator.EventType, data interface{})
func (*Plugin) ShardMigrationSend ¶
Click to show internal directories.
Click to hide internal directories.