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

Add support for user installs #17

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

tsunyoku
Copy link

Discord recently added a feature which allows discord bots to be installed to a user instead of/alongside a guild. This allows for slash command usage in DMs, group chats or guilds where the bot is not invited if the user has the app installed to their user. These changes are the minimum required for the current slash commands to work globally, and there's no concern over usage of these commands sinec they're already behind a whitelist. For some reason discord.py haven't released a new version in almost a year so changing the requirements to fetch discord.py from the git is required to make sure support exists.

@tsunyoku tsunyoku marked this pull request as draft May 26, 2024 00:05
@tsunyoku
Copy link
Author

tsunyoku commented May 26, 2024

unfortunately kind of wasted PR :(

/ai cannot work in DMs since it uses threads, and /summarize cannot work in DMs because it doesn't have access to message history... my dreams are shattered

@tsunyoku tsunyoku marked this pull request as ready for review May 26, 2024 00:13
@tsunyoku
Copy link
Author

i may add a param to /ai for single-question-uses so that it can be used in DMs without a thread, this PR is useful then

@@ -1,7 +1,7 @@
asyncpg
backoff
databases
discord.py
git+https://github.com/Rapptz/discord.py.git@efe81a67fb55f9f2a67bb84810be729ed8f09bc3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any idea if this has been merged yet?

Copy link
Member

@NiceAesth NiceAesth Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it should be in the 2.4.0 tagged release

@cmyui cmyui added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants