Skip to content

Why axios? #3

@almostSouji

Description

@almostSouji

You already require the Client instance to be passed to the VibeSync constructor. Why not use it to make the requests and benefit from the discord.js rate limit handler through Client#rest?

client.rest.put(`/channels/${channelId}/voice-status`, {body: {status}})

I'm generally not a fan of these single-purpose packages that offer undocumented and unstable functionality, but if you do, please don't create more footguns for developers (and yourself) than necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions