Documentation ¶
Index ¶
- func DiscordChannelMessageEdit(s *discord.Session, messageID string, channelID string, content *string, ...) error
- func DiscordChannelMessageSend(s *discord.Session, channelID string, content string, ...) (m *discord.Message, err error)
- func IsURL(str string) bool
- func ToggleDiscordThreadLock(s *discord.Session, channelID string, locked bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscordChannelMessageEdit ¶ added in v0.2.1
func DiscordChannelMessageSend ¶
func DiscordChannelMessageSend(s *discord.Session, channelID string, content string, messageReference *discord.MessageReference) (m *discord.Message, err error)
Sends a message to a specified Discord channel, either as a reply to another message if a message reference is provided or as a standalone message if the message reference is nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.