Skip to content

Discord api not workingΒ #2444

@str1xxxx

Description

@str1xxxx

Description of the problem

Recently, alt.Discord.currentUser started returning null even though the Discord client is running. It used to work just fine before.

Reproduction steps

It's enough to just log alt.Discord.currentUser to the console while the Discord client is open on your computer.

Expected behaviour

alt.Discord.currentUser should return the current user's Discord data (not null) when the Discord client is open and running.

Additional context

No response

Operating system

Windows 11 Pro

Version

16.4.27 (release)

Crashdump ID

No response

Confirmation of issue's presence

  • By submitting this ticket, I affirm that I have verified the presence of this issue on the latest RC (Release Candidate) version available at the time of writing this ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Class: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions