ratz/src/services/chat/discord/messages.go

type Message

func (m *Message) Timestamp() time.Time {}

func (m *Message) Link() *url.URL {}

func (m *Message) PreviousUserMessage() common.Message {}

func (m *Message) AddReaction(reaction string) {}

func (m *Message) RemoveReaction(reaction string) {}

func (m *Message) References() common.Message {}

func (m *Message) ReferenceID() string {}

func (m *Message) IsReplyToID() string {}

func (m *Message) Reactions() []common.MessageReaction {}

func (m *Message) Attachments() (attachments []common.MessageAttachment) {}

func (m *Message) Server() common.ChatServer {}

func (m *Message) ReplyWithImage(content string, image common.MessageImage) common.Message {}

func (m *Message) ReplyWithEmbeds(content string, embeds []common.MessageEmbed) common.Message {}

func (m *Message) isEmpty() bool {}

func (m *Message) Author() (u common.UserRecord) {}

func (m *Message) MentionsRatz() bool {}

func (m *Message) ReplyingToRatz() bool {}

func (m *Message) ReplyWithText(content string) common.Message {}

func (m *Message) Delete() {}

func (m *Message) DeleteAfter(duration time.Duration) {}

func (m *Message) Log(message string) {}

func (m *Message) LogErr(message string, err error) {}

func (m *Message) ImResponding() {}

func (m *Message) ID() string {}

func (m *Message) Type() common.MessageType {}

func (m *Message) Content() string {}

func (m *Message) MentionsUsers() (mentions []common.UserRecord) {}

func (m *Message) IsReplyTo() common.Message {}

func (m *Message) AuthorID() common.UserId {}

func (m *Message) ChannelID() string {}

func (m *Message) Channel() common.Channel {}

func (m *Message) ServerID() string {}

func (m *Message) FromBot() bool {}

func (d *DiscordGuild) DeleteAfter(message common.Message, expire time.Duration) {}