-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
…i/ai-discord-bot into support-user-installs
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 |
i may add a param to |
@@ -1,7 +1,7 @@ | |||
asyncpg | |||
backoff | |||
databases | |||
discord.py | |||
git+https://github.com/Rapptz/discord.py.git@efe81a67fb55f9f2a67bb84810be729ed8f09bc3 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
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.