Documentation ¶
Index ¶
- Constants
- func AddCurrency(guildID, userID string, amount int) (balance int, err error)
- func AddGiftBound(guildID, userID string, expiration time.Time) (err error)
- func Balance(guildID, userID string) (balance int, err error)
- func Close()
- func GiftStatus(guildID, userID string) (gained bool, expiration time.Time, err error)
- func Init()
- func SubCurrency(guildID, userID string, amount int) (balance int, err error)
Constants ¶
View Source
const CurrencyPrefix = "currency"
View Source
const GiftPrefix = "gift"
Variables ¶
This section is empty.
Functions ¶
func GiftStatus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.