Added missing text.Rich return in ListMember

This commit is contained in:
diamondburned 2021-03-25 16:25:44 -07:00
parent 0cb14b9819
commit f2de1cb84d
3 changed files with 2 additions and 1 deletions

View File

@ -378,7 +378,7 @@ type ListMember interface {
Status() Status
// Name returns the username or the nickname of the member, whichever the
// backend should prefer.
Name()
Name() text.Rich
}
// Lister is for servers that contain children servers. This is similar to

Binary file not shown.

View File

@ -1854,6 +1854,7 @@ var Main = Packages{
member, whichever the backend should prefer.
`},
},
Returns: []NamedType{{Type: MakeQual("text", "Rich")}},
},
GetterMethod{
method: method{