Documentation ¶
Overview ¶
Package endpoint holds all discord urls for the REST endpoints
Index ¶
- func Channel(id fmt.Stringer) string
- func ChannelInvite(channelID, inviteID fmt.Stringer) string
- func ChannelInvites(id fmt.Stringer) string
- func ChannelMessage(channelID, messageID fmt.Stringer) string
- func ChannelMessageReaction(channelID, messageID fmt.Stringer, emoji string) string
- func ChannelMessageReactionMe(channelID, messageID fmt.Stringer, emoji string) string
- func ChannelMessageReactionUser(channelID, messageID fmt.Stringer, emoji string, userID fmt.Stringer) string
- func ChannelMessageReactions(channelID, messageID fmt.Stringer) string
- func ChannelMessages(channelID fmt.Stringer) string
- func ChannelMessagesBulkDelete(channelID fmt.Stringer) string
- func ChannelPermission(channelID, overwriteID fmt.Stringer) string
- func ChannelPermissions(channelID fmt.Stringer) string
- func ChannelPin(channelID, messageID fmt.Stringer) string
- func ChannelPins(channelID fmt.Stringer) string
- func ChannelRecipient(channelID, recipientID fmt.Stringer) string
- func ChannelRecipients(channelID fmt.Stringer) string
- func ChannelTyping(id fmt.Stringer) string
- func ChannelWebhooks(id fmt.Stringer) string
- func Channels() string
- func Gateway(v int) string
- func GitHub() string
- func Guild(id fmt.Stringer) string
- func GuildAuditLogs(guildID fmt.Stringer) string
- func GuildBan(guildID, userID fmt.Stringer) string
- func GuildBans(id fmt.Stringer) string
- func GuildChannel(guildID, channelID fmt.Stringer) string
- func GuildChannels(id fmt.Stringer) string
- func GuildEmbed(id fmt.Stringer) string
- func GuildEmoji(guildID, emojiID fmt.Stringer) string
- func GuildEmojis(id fmt.Stringer) string
- func GuildIntegration(guildID, integrationID fmt.Stringer) string
- func GuildIntegrationSync(guildID, integrationID fmt.Stringer) string
- func GuildIntegrations(id fmt.Stringer) string
- func GuildInvites(id fmt.Stringer) string
- func GuildMember(guildID, userID fmt.Stringer) string
- func GuildMemberRole(guildID, userID, roleID fmt.Stringer) string
- func GuildMembers(id fmt.Stringer) string
- func GuildMembersMeNick(guildID fmt.Stringer) string
- func GuildPrune(id fmt.Stringer) string
- func GuildRegions(id fmt.Stringer) string
- func GuildRole(guildID, roleID fmt.Stringer) string
- func GuildRoles(id fmt.Stringer) string
- func GuildVanityURL(id fmt.Stringer) string
- func GuildWebhooks(id fmt.Stringer) string
- func Guilds() string
- func Invite(code string) string
- func Invites() string
- func Slack() string
- func User(id fmt.Stringer) string
- func UserMe() string
- func UserMeChannel(id fmt.Stringer) string
- func UserMeChannels() string
- func UserMeConnections() string
- func UserMeGuild(id fmt.Stringer) string
- func UserMeGuilds() string
- func VoiceRegions() string
- func Webhook(id fmt.Stringer) string
- func WebhookToken(id fmt.Stringer, token string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelMessage ¶
ChannelMessage ...
func ChannelMessageReaction ¶
ChannelMessageReaction ...
func ChannelMessageReactionMe ¶
ChannelMessageReactionMe ...
func ChannelMessageReactionUser ¶
func ChannelMessageReactionUser(channelID, messageID fmt.Stringer, emoji string, userID fmt.Stringer) string
ChannelMessageReactionUser ...
func ChannelMessageReactions ¶
ChannelMessageReactions ...
func ChannelMessagesBulkDelete ¶
ChannelMessagesBulkDelete ...
func ChannelPermission ¶
ChannelPermission /channels/{channel.id}/permissions/{overwrite.id}
func ChannelPermissions ¶
ChannelPermissions /channels/{channel.id}/permissions
func ChannelRecipient ¶
ChannelRecipient ...
func ChannelRecipients ¶
ChannelRecipients ...
func ChannelWebhooks ¶
ChannelWebhooks /channels/{channel.id}/webhooks
func GuildChannel ¶
GuildChannel /guilds/{guild.id}/channels/{channel.id}
func GuildChannels ¶
GuildChannels /guilds/{guild.id}/channels
func GuildEmoji ¶
GuildEmoji /guilds/{guild.id}/emojis/{emoji.id}
func GuildIntegration ¶
GuildIntegration /guilds/{guild.id}/integrations/{integration.id}
func GuildIntegrationSync ¶
GuildIntegrationSync /guilds/{guild.id}/integrations/{integration.id}/sync
func GuildIntegrations ¶
GuildIntegrations /guilds/{guild.id}/integrations
func GuildInvites ¶
GuildInvites /guilds/{guild.id}/invites
func GuildMember ¶
GuildMember /guilds/{guild.id}/members/{user.id}
func GuildMemberRole ¶
GuildMemberRole /guilds/{guild.id}/members/{user.id}/roles/{role.id}
func GuildMembers ¶
GuildMembers /guilds/{guild.id}/members
func GuildMembersMeNick ¶
GuildMembersMeNick /guilds/{guild.id}/members/@me/nick
func GuildRegions ¶
GuildRegions /guilds/{guild.id}/regions
func GuildVanityURL ¶
GuildVanityURL /guilds/{guild.id}/vanity-url
func GuildWebhooks ¶
GuildWebhooks /guilds/{guild.id}/webhooks
Types ¶
This section is empty.