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

Fix commands not working as user app #86

Merged
merged 5 commits into from
Mar 20, 2024

Conversation

Smalls1652
Copy link
Owner

Description

This PR fixes some issues with running some commands outside of servers the bot is in (In a direct message, in a private group chat, or a server you're in that doesn't have the bot) when you've added the bot as a user app.

Type of change

  • 🌟 New feature
  • 💪 Enhancement
  • 🪳 Bug fix
  • 🧹 Maintenance

Related issues

  • None

This is due to not being able to easily handle multiple links when doing followup messages.
Due to how user commands work, since they can be ran from anywhere, adding tags for guild/channel IDs is not possible right now. Might add back later with some logic to add those tags based on the context.
- Add logging for the interaction service.
- Only use the generic interaction handler.
@Smalls1652 Smalls1652 added bug Something isn't working bug fix Fixes a bug labels Mar 20, 2024
@Smalls1652 Smalls1652 self-assigned this Mar 20, 2024
@Smalls1652 Smalls1652 merged commit 49327de into main Mar 20, 2024
3 checks passed
@Smalls1652 Smalls1652 deleted the bug-fix/commands-not-working-as-user-app branch March 20, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixes a bug bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant