pollmaster icon indicating copy to clipboard operation
pollmaster copied to clipboard

Update to discord.py 2.0.1, add slash command functionality

Open ctrl-os opened this issue 3 years ago • 1 comments

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

ctrl-os avatar Sep 16 '22 03:09 ctrl-os

what python version are you running?

RJ1002 avatar Feb 24 '23 21:02 RJ1002