cah

package
v1.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ShardMigrationEvtGame = 110

Variables

This section is empty.

Functions

func RegisterPlugin

func RegisterPlugin()

Types

type Plugin

type Plugin struct {
	common.BasePlugin
	Manager *cardsagainstdiscord.GameManager
}

func (*Plugin) AddCommands

func (p *Plugin) AddCommands()

func (*Plugin) BotInit

func (p *Plugin) BotInit()

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) SessionForGuild

func (p *Plugin) SessionForGuild(guildID int64) *discordgo.Session

func (*Plugin) ShardMigrationReceive added in v1.11.5

func (p *Plugin) ShardMigrationReceive(evt dshardorchestrator.EventType, data interface{})

func (*Plugin) ShardMigrationSend added in v1.11.5

func (p *Plugin) ShardMigrationSend(shard int) int

func (*Plugin) Status

func (p *Plugin) Status() (string, string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL