Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelString ¶
func ChannelString(channel chat1.ChatChannel) string
ChannelString returns a string representation of a chat1.ChatChannel suitable for inclusion in chat and log messages
func HasMinRole ¶
HasMinRole returns true if the given user has the given role or higher in the converation
func StringInSlice ¶ added in v1.1.0
StringInSlice returns true if the given string is present in the slice of strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.