Deprecated
API v6 is deprecated and the types will not receive further updates, please update to v8.
import { Routes } from "https://deno.land/x/discord_api_types@0.37.81/v6.ts";
type
{ guildAuditLog(guildID: string); channel(channelID: string); channelMessages(channelID: string); channelMessage(channelID: string, messageID: string); channelCrosspost(channelID: string, messageID: string); channelMessageOwnReaction(); channelMessageUserReaction(); channelMessageSpecificReaction(); channelMessageAllReactions(channelID: string, messageID: string); channelBulkDelete(channelID: string); channelPermissions(channelID: string, overwriteID: string); channelInvite(channelID: string); channelFollowers(channelID: string); channelTyping(channelID: string); channelPins(channelID: string); channelPin(channelID: string, messageID: string); channelRecipient(channelID: string, userID: string); guildEmojis(guildID: string); guildEmoji(guildID: string, emojiID: string); guilds(); guild(guildID: string); guildPreview(guildID: string); guildChannels(guildID: string); guildMember(guildID: string, userID: string); guildMembers(guildID: string); guildMembersSearch(guildID: string); guildCurrentMemberNickname(guildID: string); guildMemberRole(); guildBans(guildID: string); guildBan(guildID: string, userID: string); guildRoles(guildID: string); guildRole(guildID: string, roleID: string); guildPrune(guildID: string); guildVoiceRegions(guildID: string); guildInvites(guildID: string); guildIntegrations(guildID: string); guildIntegration(guildID: string, integrationID: string); guildIntegrationSync(guildID: string, integrationID: string); guildWidget(guildID: string); guildWidgetSettings(guildID: string); guildVanityUrl(guildID: string); guildWidgetImage(guildID: string); invite(code: string); user(userID?); userGuilds(); userGuild(guildID: string); userChannels(); userConnections(); voiceRegions(); channelWebhook(channelID: string); guildWebhooks(guildID: string); webhook(webhookID: string, webhookToken?: string); webhookPlatform(); gateway(); gatewayBot(); oauth2CurrentApplication(); }
channelID: string,
messageID: string,
emoji: string,
channelID: string,
messageID: string,
emoji: string,
userID: string,
channelID: string,
messageID: string,
emoji: string,
guildID: string,
memberID: string,
roleID: string,
webhookID: string,
webhookToken: string,
platform: "github" | "slack",