Variable ROUTESConst

ROUTES: {
    calendarEvent: ((channelId, calendarEventId) => `/channels/${string}/events/${number}`);
    calendarEventRsvp: ((channelId, calendarEventId, userId) => `/channels/${string}/events/${number}/rsvps/${string}`);
    calendarEventRsvps: ((channelId, calendarEventId) => `/channels/${string}/events/${number}/rsvps`);
    calendarEventRsvpsMany: ((channelId, calendarEventId) => `/channels/${string}/events/${number}/rsvps`);
    calendarEvents: ((channelId) => `/channels/${string}/events`);
    channel: ((channelId) => `/channels/${string}`);
    channelDoc: ((channelId, docId) => `/channels/${string}/docs/${number}`);
    channelDocs: ((channelId) => `/channels/${string}/docs`);
    channelMessage: ((channelId, messageId) => `/channels/${string}/messages/${string}`);
    channelMessages: ((channelId) => `/channels/${string}/messages`);
    channelReaction: ((channelId, contentId, emoteId) => `/channels/${string}/content/${string}/emotes/${number}`);
    channels: (() => string);
    forumTopic: ((channelId, forumTopicId) => `/channels/${string}/topics/${string}`);
    forumTopicLock: ((channelId, forumTopicId) => `/channels/${string}/topics/${string}/lock`);
    forumTopicPin: ((channelId, forumTopicId) => `/channels/${string}/topics/${string}/pin`);
    forumTopics: ((channelId) => `/channels/${string}/topics`);
    groupMember: ((groupId, userId) => `/groups/${string}/members/${string}`);
    listItem: ((channelId, itemId) => `/channels/${string}/items/${string}`);
    listItemComplete: ((channelId, itemId) => `/channels/${string}/items/${string}/complete`);
    listItems: ((channelId) => `/channels/${string}/items`);
    me: (() => "/users/@me");
    member: ((serverId, userId) => `/servers/${string}/members/${string}`);
    memberBan: ((serverId, userId) => `/servers/${string}/bans/${string}`);
    memberBans: ((serverId) => `/servers/${string}/bans`);
    memberNickname: ((serverId, userId) => `/servers/${string}/members/${string}/nickname`);
    memberRole: ((serverId, memberId, roleId) => `/servers/${string}/members/${string}/roles/${number}`);
    memberRoles: ((serverId, userId) => `/servers/${string}/members/${string}/roles`);
    memberSocialLinks: ((serverId, userId, type) => `/servers/${string}/members/${string}/social-links/twitch` | `/servers/${string}/members/${string}/social-links/bnet` | `/servers/${string}/members/${string}/social-links/psn` | `/servers/${string}/members/${string}/social-links/xbox` | `/servers/${string}/members/${string}/social-links/steam` | `/servers/${string}/members/${string}/social-links/origin` | `/servers/${string}/members/${string}/social-links/youtube` | `/servers/${string}/members/${string}/social-links/twitter` | `/servers/${string}/members/${string}/social-links/facebook` | `/servers/${string}/members/${string}/social-links/switch` | `/servers/${string}/members/${string}/social-links/patreon` | `/servers/${string}/members/${string}/social-links/roblox` | `/servers/${string}/members/${string}/social-links/epic`);
    memberXP: ((serverId, userId) => `/servers/${string}/members/${string}/xp`);
    members: ((serverId) => `/servers/${string}/members`);
    roleXP: ((serverId, roleId) => `/servers/${string}/roles/${string}/xp`);
    server: ((serverId) => `/servers/${string}`);
    serverWebhook: ((serverId, webhookId) => string);
    serverWebhooks: ((serverId) => string);
    user: ((userId) => `/users/${string}`);
} = ...

Type declaration

  • Readonly calendarEvent: ((channelId, calendarEventId) => `/channels/${string}/events/${number}`)
      • (channelId, calendarEventId): `/channels/${string}/events/${number}`
      • Parameters

        • channelId: string
        • calendarEventId: number

        Returns `/channels/${string}/events/${number}`

  • Readonly calendarEventRsvp: ((channelId, calendarEventId, userId) => `/channels/${string}/events/${number}/rsvps/${string}`)
      • (channelId, calendarEventId, userId): `/channels/${string}/events/${number}/rsvps/${string}`
      • Parameters

        • channelId: string
        • calendarEventId: number
        • userId: string

        Returns `/channels/${string}/events/${number}/rsvps/${string}`

  • Readonly calendarEventRsvps: ((channelId, calendarEventId) => `/channels/${string}/events/${number}/rsvps`)
      • (channelId, calendarEventId): `/channels/${string}/events/${number}/rsvps`
      • Parameters

        • channelId: string
        • calendarEventId: number

        Returns `/channels/${string}/events/${number}/rsvps`

  • Readonly calendarEventRsvpsMany: ((channelId, calendarEventId) => `/channels/${string}/events/${number}/rsvps`)
      • (channelId, calendarEventId): `/channels/${string}/events/${number}/rsvps`
      • Parameters

        • channelId: string
        • calendarEventId: number

        Returns `/channels/${string}/events/${number}/rsvps`

  • Readonly calendarEvents: ((channelId) => `/channels/${string}/events`)
      • (channelId): `/channels/${string}/events`
      • Parameters

        • channelId: string

        Returns `/channels/${string}/events`

  • Readonly channel: ((channelId) => `/channels/${string}`)
      • (channelId): `/channels/${string}`
      • Parameters

        • channelId: string

        Returns `/channels/${string}`

  • Readonly channelDoc: ((channelId, docId) => `/channels/${string}/docs/${number}`)
      • (channelId, docId): `/channels/${string}/docs/${number}`
      • Parameters

        • channelId: string
        • docId: number

        Returns `/channels/${string}/docs/${number}`

  • Readonly channelDocs: ((channelId) => `/channels/${string}/docs`)
      • (channelId): `/channels/${string}/docs`
      • Parameters

        • channelId: string

        Returns `/channels/${string}/docs`

  • Readonly channelMessage: ((channelId, messageId) => `/channels/${string}/messages/${string}`)
      • (channelId, messageId): `/channels/${string}/messages/${string}`
      • Parameters

        • channelId: string
        • messageId: string

        Returns `/channels/${string}/messages/${string}`

  • Readonly channelMessages: ((channelId) => `/channels/${string}/messages`)
      • (channelId): `/channels/${string}/messages`
      • Parameters

        • channelId: string

        Returns `/channels/${string}/messages`

  • Readonly channelReaction: ((channelId, contentId, emoteId) => `/channels/${string}/content/${string}/emotes/${number}`)
      • (channelId, contentId, emoteId): `/channels/${string}/content/${string}/emotes/${number}`
      • Parameters

        • channelId: string
        • contentId: string
        • emoteId: number

        Returns `/channels/${string}/content/${string}/emotes/${number}`

  • Readonly channels: (() => string)
      • (): string
      • Returns string

  • Readonly forumTopic: ((channelId, forumTopicId) => `/channels/${string}/topics/${string}`)
      • (channelId, forumTopicId): `/channels/${string}/topics/${string}`
      • Parameters

        • channelId: string
        • forumTopicId: string

        Returns `/channels/${string}/topics/${string}`

  • Readonly forumTopicLock: ((channelId, forumTopicId) => `/channels/${string}/topics/${string}/lock`)
      • (channelId, forumTopicId): `/channels/${string}/topics/${string}/lock`
      • Parameters

        • channelId: string
        • forumTopicId: string

        Returns `/channels/${string}/topics/${string}/lock`

  • Readonly forumTopicPin: ((channelId, forumTopicId) => `/channels/${string}/topics/${string}/pin`)
      • (channelId, forumTopicId): `/channels/${string}/topics/${string}/pin`
      • Parameters

        • channelId: string
        • forumTopicId: string

        Returns `/channels/${string}/topics/${string}/pin`

  • Readonly forumTopics: ((channelId) => `/channels/${string}/topics`)
      • (channelId): `/channels/${string}/topics`
      • Parameters

        • channelId: string

        Returns `/channels/${string}/topics`

  • Readonly groupMember: ((groupId, userId) => `/groups/${string}/members/${string}`)
      • (groupId, userId): `/groups/${string}/members/${string}`
      • Parameters

        • groupId: string
        • userId: string

        Returns `/groups/${string}/members/${string}`

  • Readonly listItem: ((channelId, itemId) => `/channels/${string}/items/${string}`)
      • (channelId, itemId): `/channels/${string}/items/${string}`
      • Parameters

        • channelId: string
        • itemId: string

        Returns `/channels/${string}/items/${string}`

  • Readonly listItemComplete: ((channelId, itemId) => `/channels/${string}/items/${string}/complete`)
      • (channelId, itemId): `/channels/${string}/items/${string}/complete`
      • Parameters

        • channelId: string
        • itemId: string

        Returns `/channels/${string}/items/${string}/complete`

  • Readonly listItems: ((channelId) => `/channels/${string}/items`)
      • (channelId): `/channels/${string}/items`
      • Parameters

        • channelId: string

        Returns `/channels/${string}/items`

  • Readonly me: (() => "/users/@me")
      • (): "/users/@me"
      • Returns "/users/@me"

  • Readonly member: ((serverId, userId) => `/servers/${string}/members/${string}`)
      • (serverId, userId): `/servers/${string}/members/${string}`
      • Parameters

        • serverId: string
        • userId: string

        Returns `/servers/${string}/members/${string}`

  • Readonly memberBan: ((serverId, userId) => `/servers/${string}/bans/${string}`)
      • (serverId, userId): `/servers/${string}/bans/${string}`
      • Parameters

        • serverId: string
        • userId: string

        Returns `/servers/${string}/bans/${string}`

  • Readonly memberBans: ((serverId) => `/servers/${string}/bans`)
      • (serverId): `/servers/${string}/bans`
      • Parameters

        • serverId: string

        Returns `/servers/${string}/bans`

  • Readonly memberNickname: ((serverId, userId) => `/servers/${string}/members/${string}/nickname`)
      • (serverId, userId): `/servers/${string}/members/${string}/nickname`
      • Parameters

        • serverId: string
        • userId: string

        Returns `/servers/${string}/members/${string}/nickname`

  • Readonly memberRole: ((serverId, memberId, roleId) => `/servers/${string}/members/${string}/roles/${number}`)
      • (serverId, memberId, roleId): `/servers/${string}/members/${string}/roles/${number}`
      • Parameters

        • serverId: string
        • memberId: string
        • roleId: number

        Returns `/servers/${string}/members/${string}/roles/${number}`

  • Readonly memberRoles: ((serverId, userId) => `/servers/${string}/members/${string}/roles`)
      • (serverId, userId): `/servers/${string}/members/${string}/roles`
      • Parameters

        • serverId: string
        • userId: string

        Returns `/servers/${string}/members/${string}/roles`

  • Readonly memberSocialLinks: ((serverId, userId, type) => `/servers/${string}/members/${string}/social-links/twitch` | `/servers/${string}/members/${string}/social-links/bnet` | `/servers/${string}/members/${string}/social-links/psn` | `/servers/${string}/members/${string}/social-links/xbox` | `/servers/${string}/members/${string}/social-links/steam` | `/servers/${string}/members/${string}/social-links/origin` | `/servers/${string}/members/${string}/social-links/youtube` | `/servers/${string}/members/${string}/social-links/twitter` | `/servers/${string}/members/${string}/social-links/facebook` | `/servers/${string}/members/${string}/social-links/switch` | `/servers/${string}/members/${string}/social-links/patreon` | `/servers/${string}/members/${string}/social-links/roblox` | `/servers/${string}/members/${string}/social-links/epic`)
      • (serverId, userId, type): `/servers/${string}/members/${string}/social-links/twitch` | `/servers/${string}/members/${string}/social-links/bnet` | `/servers/${string}/members/${string}/social-links/psn` | `/servers/${string}/members/${string}/social-links/xbox` | `/servers/${string}/members/${string}/social-links/steam` | `/servers/${string}/members/${string}/social-links/origin` | `/servers/${string}/members/${string}/social-links/youtube` | `/servers/${string}/members/${string}/social-links/twitter` | `/servers/${string}/members/${string}/social-links/facebook` | `/servers/${string}/members/${string}/social-links/switch` | `/servers/${string}/members/${string}/social-links/patreon` | `/servers/${string}/members/${string}/social-links/roblox` | `/servers/${string}/members/${string}/social-links/epic`
      • Parameters

        • serverId: string
        • userId: string
        • type: "twitch" | "bnet" | "psn" | "xbox" | "steam" | "origin" | "youtube" | "twitter" | "facebook" | "switch" | "patreon" | "roblox" | "epic"

        Returns `/servers/${string}/members/${string}/social-links/twitch` | `/servers/${string}/members/${string}/social-links/bnet` | `/servers/${string}/members/${string}/social-links/psn` | `/servers/${string}/members/${string}/social-links/xbox` | `/servers/${string}/members/${string}/social-links/steam` | `/servers/${string}/members/${string}/social-links/origin` | `/servers/${string}/members/${string}/social-links/youtube` | `/servers/${string}/members/${string}/social-links/twitter` | `/servers/${string}/members/${string}/social-links/facebook` | `/servers/${string}/members/${string}/social-links/switch` | `/servers/${string}/members/${string}/social-links/patreon` | `/servers/${string}/members/${string}/social-links/roblox` | `/servers/${string}/members/${string}/social-links/epic`

  • Readonly memberXP: ((serverId, userId) => `/servers/${string}/members/${string}/xp`)
      • (serverId, userId): `/servers/${string}/members/${string}/xp`
      • Parameters

        • serverId: string
        • userId: string

        Returns `/servers/${string}/members/${string}/xp`

  • Readonly members: ((serverId) => `/servers/${string}/members`)
      • (serverId): `/servers/${string}/members`
      • Parameters

        • serverId: string

        Returns `/servers/${string}/members`

  • Readonly roleXP: ((serverId, roleId) => `/servers/${string}/roles/${string}/xp`)
      • (serverId, roleId): `/servers/${string}/roles/${string}/xp`
      • Parameters

        • serverId: string
        • roleId: string

        Returns `/servers/${string}/roles/${string}/xp`

  • Readonly server: ((serverId) => `/servers/${string}`)
      • (serverId): `/servers/${string}`
      • Parameters

        • serverId: string

        Returns `/servers/${string}`

  • Readonly serverWebhook: ((serverId, webhookId) => string)
      • (serverId, webhookId): string
      • Parameters

        • serverId: string
        • webhookId: string

        Returns string

  • Readonly serverWebhooks: ((serverId) => string)
      • (serverId): string
      • Parameters

        • serverId: string

        Returns string

  • Readonly user: ((userId) => `/users/${string}`)
      • (userId): `/users/${string}`
      • Parameters

        • userId: string

        Returns `/users/${string}`

Generated using TypeDoc