services

package
v0.0.0-...-abaa55c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: GPL-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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