Documentation ¶
Overview ¶
Package user provides a User object and it's associated methods
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶ added in v1.4.0
type User struct { AuthorId string AuthorName string ChanPermission int64 Mention string RatCookie string UserInfo *models.RegisteredUser }
User is a struct of user object. Each incoming message in the command_handler will try to create a User object based on the message it received
func (*User) HasRatCookie ¶ added in v1.4.0
HasRatCookie returns true when *User has a valid SoT RAT cookie set in the database
func (*User) IsRegistered ¶ added in v1.4.0
IsRegistered return true when *User is registered
func (*User) UpdateSotBalance ¶ added in v1.4.0
Click to show internal directories.
Click to hide internal directories.