Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Guild = &GuildService{}
View Source
var User = &UserService{}
Functions ¶
This section is empty.
Types ¶
type GuildService ¶
type GuildService struct { }
func (*GuildService) SetGuildOptions ¶
func (s *GuildService) SetGuildOptions(guildID string, language i18n.LanguageName) error
type UserService ¶
type UserService struct { }
func (*UserService) GetLanguage ¶
func (s *UserService) GetLanguage(userID, guildID string) i18n.LanguageName
func (*UserService) SetLastSlashCommandLocale ¶
func (s *UserService) SetLastSlashCommandLocale(userID string, language i18n.LanguageName) error
func (*UserService) SetPreferredLang ¶
func (s *UserService) SetPreferredLang(userID string, language i18n.LanguageName) error
Click to show internal directories.
Click to hide internal directories.