Skip to content

Conversation

@ctrl-os
Copy link

@ctrl-os ctrl-os commented Sep 16, 2022

Added async/await model as specified by migration guide.
Changed decorators to hybrid_command

What was tested:
Bot running locally
Bot running on cloud environment
Tested the following commands:
/prefix
/cmd cmd: -question "question" -label "some-label" -hide_votes -roles "test-role" -options 1
/help
/close

IMPORTANT:
Permissions flag is now -1073615808 (adds slash command). This requires re-adding the bot to all servers its being used in to update permissions.
Privileged Gateway Intents might break something, if so may need to disable some intents, I do not have this bot on 100+ servers to test this.

Other changes:
Removed some dependencies in requirements.txt that were seemingly unused

modified secrets.py to use dotenv for easier cloud deployment
Add slash commands
@RJ1002
Copy link

RJ1002 commented Feb 24, 2023

what python version are you running?

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