type ChatServer …
func (_m *ChatServer) ActiveUsers(window common.TimeWindow) []common.UserRecord { … }
func (_m *ChatServer) ActiveUsersInVoice() []common.UserRecord { … }
func (_m *ChatServer) ActivityInAllChannels(window common.TimeWindow) int { … }
func (_m *ChatServer) ApplyFunctionToChannelMessages(channelID string, count int, f func(common.Message)) error { … }
func (_m *ChatServer) ChannelMembers(channelId string) []common.UserRecord { … }
func (_m *ChatServer) Channels() map[string]common.Channel { … }
func (_m *ChatServer) Config() config.ModuleConfigurations { … }
func (_m *ChatServer) CreateThread(inchannel common.Channel, title string) common.Thread { … }
func (_m *ChatServer) DebugChannel(text string) { … }
func (_m *ChatServer) Delete(message common.Message) { … }
func (_m *ChatServer) DeleteAfter(message common.Message, expire time.Duration) { … }
func (_m *ChatServer) EventCount(eventkey string, window common.TimeWindow) int { … }
func (_m *ChatServer) FetchChannelMessages(channelID string, count int) []common.Message { … }
func (_m *ChatServer) FetchMessage(channelid string, messageid string) common.Message { … }
func (_m *ChatServer) FetchUser(id common.UserId) common.UserRecord { … }
func (_m *ChatServer) GrantRoleToUser(u common.UserRecord, r common.Role) { … }
func (_m *ChatServer) Latency() time.Duration { … }
func (_m *ChatServer) LogDebug(message string) { … }
func (_m *ChatServer) LogError(message string, err error) { … }
func (_m *ChatServer) LogInfo(message string) { … }
func (_m *ChatServer) OpenChannelToUser(user common.UserRecord) common.Channel { … }
func (_m *ChatServer) PostInChannel(channelID string, message string) common.Message { … }
func (_m *ChatServer) PostInChannelWithAttachment(channelID string, message string, attachment common.MessageAttachment) common.Message { … }
func (_m *ChatServer) PostInChannelWithEmbed(channelID string, message string, embed common.MessageEmbed) common.Message { … }
func (_m *ChatServer) PostInChannelWithEmbeds(channelID string, message string, embeds []common.MessageEmbed) common.Message { … }
func (_m *ChatServer) PostInChannelWithImage(channelID string, message string, attachment common.MessageImage) common.Message { … }
func (_m *ChatServer) PostInChannelWithThumbnail(channelID string, message string, thumbnail images.RemoteImage) common.Message { … }
func (_m *ChatServer) PurgeEvent(event string) { … }
func (_m *ChatServer) Ratz() common.ChatBot { … }
func (_m *ChatServer) RemoveRoleFromUser(u common.UserRecord, r common.Role) { … }
func (_m *ChatServer) Roles() common.RolesCollection { … }
func (_m *ChatServer) ServerID() string { … }
func (_m *ChatServer) ServerName() string { … }
func (_m *ChatServer) TrackEvent(eventkey string) { … }
func (_m *ChatServer) UserActivityInAllChannels(_a0 common.UserId, _a1 common.TimeWindow) int { … }
func (_m *ChatServer) UserEnabledVideo(_a0 common.UserId) (bool, bool) { … }
func (_m *ChatServer) UserHasRole(user common.UserRecord, role common.Role) bool { … }
func (_m *ChatServer) Users() *common.UserCollection { … }
func (_m *ChatServer) UsersActiveInChannel(channelID string, window common.TimeWindow) []common.UserRecord { … }
func (_m *ChatServer) VoiceStatus() map[string]common.VoiceChannelTracker { … }
func NewChatServer(t interface { … }