Skip to content

Add support for the @discordjs/rest package in browser environments #8436

@TheOnlyTails

Description

@TheOnlyTails

Which package is the feature request for?

rest

Feature

I started recently working on a web dashboard for one of my bots, and I was looking for a package to make requests to Discord API (which obviously are very common on a bot dashboard) easier than using the native fetch API.
I was delighted to see that this package exists, but was quite disappointed to see it doesn't support browser environments due to its use of big integer literals.

Ideal solution or implementation

I would like the library to be compatible with browser environments.

Alternative solutions or implementations

No response

Other context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions