Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

petpet: fix /petpet image command #2070

Closed
wants to merge 2 commits into from
Closed

petpet: fix /petpet image command #2070

wants to merge 2 commits into from

Conversation

AutumnVN
Copy link
Contributor

No description provided.

@Vendicated
Copy link
Owner

Vendicated commented Jan 5, 2024

i literally tested this the other day and it worked 😵‍💫

anyway, it might be more future proof to add export const { DraftType } = findByPropsLazy("DraftType") to webpack commons and use that everywhere? since a lot of plugins hardcode DraftType

@Vendicated
Copy link
Owner

i changed it to use the webpack common, but there's still the following issue:

it doesn't clear the slash command draft after you submit it. the fix is likely to just clearDraft(DraftType.SlashCommand), but i'm confused because Discord doesn't do that and it works fine for them :/

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.

2 participants