Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CharacterName ¶
CharacterName returns the name of a discord ID
Types ¶
type RegisterDatabase ¶
type RegisterDatabase struct {
Registrations map[string]RegisterEntry `toml:"registrations"`
}
RegisterDatabase wraps registrations
type RegisterEntry ¶
type RegisterEntry struct { DiscordID string DiscordName string Status string CharacterName string ChannelID string MessageID string Timeout int64 Code string }
RegisterEntry is a registration request entry
func FindByCode ¶
func FindByCode(code string) (entry RegisterEntry, err error)
FindByCode returns an entry if code matches and is valid
func QueuedEntries ¶
func QueuedEntries() (entries []RegisterEntry, err error)
QueuedEntries returns a list of items that need to be relayed in EQ
Click to show internal directories.
Click to hide internal directories.