Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPersonNotFound = errors.New("You have not set a nickname.") ErrNickExists = errors.New("Nickname is already in use either by you or someone else.") )
View Source
var Admin = admin{}
View Source
var AdminDelete = adminDelete{}
View Source
var AdminSet = adminSet{}
View Source
var AdminShow = adminShow{}
View Source
var Advanced = advanced{}
View Source
var AdvancedDelete = advancedDelete{}
View Source
var AdvancedSet = advancedSet{}
View Source
var AdvancedShow = advancedShow{}
View Source
var Normal = normal{}
Functions ¶
func Delete ¶
Delete deletes the person's nickname in the specified place. If no nickname has been set then returns an ErrPersonNotFound error.
func ParsePerson ¶
Tries to find a person from the given string. If "me" is passed the author is returned. Then tries to match a nickname and if it fails it tries various platform specific things (checking if the string is a mention of some sort, etc.)
func ParsePersonHere ¶
Same as ParsePerson but uses the default place instead
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.