Skip to main content
Module

x/discord_api_types/v9.ts>Routes

Up to date Discord API Typings, versioned by the API version
Go to Latest
variable Routes
import { Routes } from "https://deno.land/x/discord_api_types@0.37.21/v9.ts";

type

{ 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(
channelId: Snowflake,
messageId: Snowflake,
emoji: string,
); channelMessageUserReaction(
channelId: Snowflake,
messageId: Snowflake,
emoji: string,
userId: Snowflake,
); channelMessageReaction(
channelId: Snowflake,
messageId: Snowflake,
emoji: string,
); 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(
guildId: Snowflake,
memberId: Snowflake,
roleId: Snowflake,
); 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, archived?: "public" | "private"); channelJoinedArchivedThreads(channelId: Snowflake); threadMembers(threadId: Snowflake, userId?: Snowflake | "@me"); user(userId?: Snowflake | "@me"); userGuilds(); userGuildMember(guildId: Snowflake); userGuild(guildId: Snowflake); userChannels(); userConnections(); voiceRegions(); channelWebhooks(channelId: Snowflake); guildWebhooks(guildId: Snowflake); webhook(webhookId: Snowflake, webhookToken?: string); webhookMessage(
webhookId: Snowflake,
webhookToken: string,
messageId?: Snowflake | "@original",
); webhookPlatform(
webhookId: Snowflake,
webhookToken: string,
platform: "github" | "slack",
); gateway(); gatewayBot(); oauth2CurrentApplication(); oauth2CurrentAuthorization(); oauth2Authorization(); oauth2TokenExchange(); oauth2TokenRevocation(); applicationCommands(applicationId: Snowflake); applicationCommand(applicationId: Snowflake, commandId: Snowflake); applicationGuildCommands(applicationId: Snowflake, guildId: Snowflake); applicationGuildCommand(
applicationId: Snowflake,
guildId: Snowflake,
commandId: Snowflake,
); interactionCallback(interactionId: Snowflake, interactionToken: string); guildMemberVerification(guildId: Snowflake); guildVoiceState(guildId: Snowflake, userId?: Snowflake | "@me"); guildApplicationCommandsPermissions(applicationId: Snowflake, guildId: Snowflake); applicationCommandPermissions(
applicationId: Snowflake,
guildId: Snowflake,
commandId: Snowflake,
); guildWelcomeScreen(guildId: Snowflake); stageInstances(); stageInstance(channelId: Snowflake); sticker(stickerId: Snowflake); nitroStickerPacks(); guildStickers(guildId: Snowflake); guildSticker(guildId: Snowflake, stickerId: Snowflake); guildScheduledEvents(guildId: Snowflake); guildScheduledEvent(guildId: Snowflake, guildScheduledEventId: Snowflake); guildScheduledEventUsers(guildId: Snowflake, guildScheduledEventId: Snowflake); }