Skip to content

fix: Application did not respond error in purge command #74

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

Closed
wants to merge 1 commit into from
Closed

fix: Application did not respond error in purge command #74

wants to merge 1 commit into from

Conversation

coendvrs
Copy link

@coendvrs coendvrs commented Dec 8, 2022

Removed 'channel' from 'context.channel.send'
Returns "application did not respond" otherwise

@kkrypt0nn
Copy link
Owner

Hey there,

That would not fix the issue in its entirety. That was the original code, though resulted to "Unknown Interaction" errors as you respond to the interaction after the channel has been purged.

I've committed a fix that fixes both issues, bit hacky but does the trick.

Thanks for pointing it out nonetheless.

@kkrypt0nn kkrypt0nn closed this Dec 8, 2022
@kkrypt0nn kkrypt0nn added bug Something isn't working done The new feature or request has been implemented labels Dec 8, 2022
@kkrypt0nn kkrypt0nn changed the title Update moderation.py fix: Application did not respond error in purge command Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done The new feature or request has been implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants