import { Routes } from "https://deno.land/x/discord_api_types@0.37.61/rest/mod.ts";
type
{ applicationRoleConnectionMetadata(applicationId: Snowflake); guildAutoModerationRules(guildId: Snowflake); guildAutoModerationRule(guildId: Snowflake, ruleId: Snowflake); guildAuditLog(guildId: Snowflake); channel(channelId: Snowflake); channelMessages(channelId: Snowflake); channelMessage(channelId: Snowflake, messageId: Snowflake); channelMessageCrosspost(channelId: Snowflake, messageId: Snowflake); channelMessageOwnReaction(); channelMessageUserReaction(); channelMessageReaction(); channelMessageAllReactions(channelId: Snowflake, messageId: Snowflake); channelBulkDelete(channelId: Snowflake); channelPermission(channelId: Snowflake, overwriteId: Snowflake); channelInvites(channelId: Snowflake); channelFollowers(channelId: Snowflake); channelTyping(channelId: Snowflake); channelPins(channelId: Snowflake); channelPin(channelId: Snowflake, messageId: Snowflake); channelRecipient(channelId: Snowflake, userId: Snowflake); guildEmojis(guildId: Snowflake); guildEmoji(guildId: Snowflake, emojiId: Snowflake); guilds(); guild(guildId: Snowflake); guildPreview(guildId: Snowflake); guildChannels(guildId: Snowflake); guildMember(guildId: Snowflake, userId?: Snowflake | "@me"); guildMembers(guildId: Snowflake); guildMembersSearch(guildId: Snowflake); guildCurrentMemberNickname(guildId: Snowflake); guildMemberRole(); guildMFA(guildId: Snowflake); guildBans(guildId: Snowflake); guildBan(guildId: Snowflake, userId: Snowflake); guildRoles(guildId: Snowflake); guildRole(guildId: Snowflake, roleId: Snowflake); guildPrune(guildId: Snowflake); guildVoiceRegions(guildId: Snowflake); guildInvites(guildId: Snowflake); guildIntegrations(guildId: Snowflake); guildIntegration(guildId: Snowflake, integrationId: Snowflake); guildWidgetSettings(guildId: Snowflake); guildWidgetJSON(guildId: Snowflake); guildVanityUrl(guildId: Snowflake); guildWidgetImage(guildId: Snowflake); invite(code: string); template(code: string); guildTemplates(guildId: Snowflake); guildTemplate(guildId: Snowflake, code: string); threads(parentId: Snowflake, messageId?: Snowflake); guildActiveThreads(guildId: Snowflake); channelThreads(channelId: Snowflake, archivedStatus: "public" | "private"); channelJoinedArchivedThreads(channelId: Snowflake); threadMembers(threadId: Snowflake, userId?: Snowflake | "@me"); user(userId?: Snowflake | "@me"); userApplicationRoleConnection(applicationId: Snowflake); userGuilds(); userGuildMember(guildId: Snowflake); userGuild(guildId: Snowflake); userChannels(); userConnections(); voiceRegions(); channelWebhooks(channelId: Snowflake); guildWebhooks(guildId: Snowflake); webhook(webhookId: Snowflake, webhookToken?: string); webhookMessage(); webhookPlatform(); gateway(); gatewayBot(); oauth2CurrentApplication(); oauth2CurrentAuthorization(); oauth2Authorization(); oauth2TokenExchange(); oauth2TokenRevocation(); applicationCommands(applicationId: Snowflake); applicationCommand(applicationId: Snowflake, commandId: Snowflake); applicationGuildCommands(applicationId: Snowflake, guildId: Snowflake); applicationGuildCommand(); interactionCallback(interactionId: Snowflake, interactionToken: string); guildMemberVerification(guildId: Snowflake); guildVoiceState(guildId: Snowflake, userId?: Snowflake | "@me"); guildApplicationCommandsPermissions(applicationId: Snowflake, guildId: Snowflake); applicationCommandPermissions(); guildWelcomeScreen(guildId: Snowflake); stageInstances(); stageInstance(channelId: Snowflake); sticker(stickerId: Snowflake); stickerPacks(); nitroStickerPacks(); guildStickers(guildId: Snowflake); guildSticker(guildId: Snowflake, stickerId: Snowflake); guildScheduledEvents(guildId: Snowflake); guildScheduledEvent(guildId: Snowflake, guildScheduledEventId: Snowflake); guildScheduledEventUsers(guildId: Snowflake, guildScheduledEventId: Snowflake); guildOnboarding(guildId: Snowflake); currentApplication(); entitlements(applicationId: Snowflake); entitlement(applicationId: Snowflake, entitlementId: Snowflake); skus(applicationId: Snowflake); }
channelId: Snowflake,
messageId: Snowflake,
emoji: string,
channelId: Snowflake,
messageId: Snowflake,
emoji: string,
userId: Snowflake,
channelId: Snowflake,
messageId: Snowflake,
emoji: string,
guildId: Snowflake,
memberId: Snowflake,
roleId: Snowflake,
webhookId: Snowflake,
webhookToken: string,
messageId?: Snowflake | "@original",
webhookId: Snowflake,
webhookToken: string,
platform: "github" | "slack",
applicationId: Snowflake,
guildId: Snowflake,
commandId: Snowflake,
applicationId: Snowflake,
guildId: Snowflake,
commandId: Snowflake,