Variable ROUTERConst

ROUTER: {
    api: {
        webhook: ((id: string, token: string) => string);
        webhookMessage: ((id: string, token: string, messageID: string) => string);
    };
    cdn: {
        avatar: ((userID: string, avatar: string, format?: ImageFormat, size?: AvatarSize) => string);
        defaultAvatar: ((discriminator: number) => string);
        emoji: ((emojiID: string, format: ImageFormat) => string);
    };
} = ...

Type declaration

  • api: {
        webhook: ((id: string, token: string) => string);
        webhookMessage: ((id: string, token: string, messageID: string) => string);
    }
    • webhook: ((id: string, token: string) => string)
        • (id: string, token: string): string
        • Parameters

          • id: string
          • token: string

          Returns string

    • webhookMessage: ((id: string, token: string, messageID: string) => string)
        • (id: string, token: string, messageID: string): string
        • Parameters

          • id: string
          • token: string
          • messageID: string

          Returns string

  • cdn: {
        avatar: ((userID: string, avatar: string, format?: ImageFormat, size?: AvatarSize) => string);
        defaultAvatar: ((discriminator: number) => string);
        emoji: ((emojiID: string, format: ImageFormat) => string);
    }
    • avatar: ((userID: string, avatar: string, format?: ImageFormat, size?: AvatarSize) => string)
    • defaultAvatar: ((discriminator: number) => string)
        • (discriminator: number): string
        • Parameters

          • discriminator: number

          Returns string

    • emoji: ((emojiID: string, format: ImageFormat) => string)

Generated using TypeDoc