Skip to content

[ANSWERED] discord.app_commands.errors.MissingApplicationID Error #9517

Answered by LostLuma
Joshisaurio asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, your issue stems from you defining both a Client and Bot instance and mixing them up afterwards. The Bot class is an extension of the Client class, and if you'd like to switch from one to the other to make use of additional functionality in Bot you should replace the Client with a Bot, rather than creating it in addition to the other.

The error specifically occurs because the internal application_id field is filled when the library connects to Discord, and you're syncing the bot's CommandTree within the ready event for the client, rather than the one for your bot. If you only have one of the two as described above your issue should resolve itself 🙂 Do note that the only proper way …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Joshisaurio
Comment options

@Joshisaurio
Comment options

Answer selected by Joshisaurio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants