Skip to content

Conversation

DXsmiley
Copy link
Contributor

@DXsmiley DXsmiley commented Mar 6, 2021

About this pull request

Allows users to manually specify the application ID, rather than having the library attempt to derive it from the bot's user ID. This is important for legacy bots where the application ID and bot user ID are not the same.

Changes

Adds an application_id argument to SlashCommand in order to manually specify the application ID. Changes are non-breaking.

Checklist

@eunwoo1104 eunwoo1104 self-requested a review March 7, 2021 15:30
@eunwoo1104 eunwoo1104 self-assigned this Mar 7, 2021
@eunwoo1104
Copy link
Contributor

Oh, I forgot about this method. Anyways, merging this pull request, thank you for contributing!

@eunwoo1104 eunwoo1104 merged commit 1f6ce42 into interactions-py:master Mar 7, 2021
@Kowlin
Copy link

Kowlin commented Mar 7, 2021

Thank you so much for this PR! Was gonna do it my self at some point, but didn't find the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants