package
0.0.0-20210807173805-52a80d555a2e
Repository: https://github.com/gord-project/gord.git
Documentation: pkg.go.dev

# Functions

ClearReadStateFor clears all entries for the given Channel.
HasBeenMentioned checks whether the currently logged in user has been mentioned in this channel.
HasBeenRead checks whether the passed channel has an unread Message or not.
HasGuildBeenMentioned checks whether any channel in the guild mentioned the currently logged in user.
HasGuildBeenRead returns true if the guild has no unread messages or is muted.
IsGuildChannelMuted checks whether a guild channel has been set to silent.
IsGuildMuted returns whether the user muted the given guild.
IsPrivateChannelMuted checks whether a private channel has been set to silent.
Load loads the locally saved readmarkers returning an error if this failed.
MarkAsMentioned sets the given channel ID to mentioned.
UpdateRead tells the discord server that a channel has been read.
UpdateReadBuffered triggers an acknowledgement after a certain amount of seconds.
UpdateReadLocal can be used to locally update the data without sending anything to the Discord API.