Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStorage ¶
type DataStorage interface { Close() error GetStatistics() (map[string]int, error) SetStatistics(map[string]int) error WasWelcomeMessageSent(id string) (bool, error) SetWelcomeMessageSent(id string, value bool) error GetGuildLang(id string) (string, error) SetGuildLang(id, value string) error DeleteGuildLang(id string) error }
DataStorage interface defines the methods required by the bot to store data
Click to show internal directories.
Click to hide internal directories.