Skip to content

feat: migrate to discord.py 2.7.1 - #191

Draft
dlsnyder8 wants to merge 4 commits into
chamburr:mainfrom
dlsnyder8:main
Draft

feat: migrate to discord.py 2.7.1#191
dlsnyder8 wants to merge 4 commits into
chamburr:mainfrom
dlsnyder8:main

Conversation

@dlsnyder8

Copy link
Copy Markdown
Contributor

Migrates repo to discord.py 2.7.1 and brings support for slash commands

Open Questions to resolve:

  • Do we want to continue supporting prefix based commands?
    • if yes, do we want to dynamically add a "use the slash commands, this feature will be deprecated in the future warning"?
    • We can also support some prefix based commands, but have config related ones go to slash commands
  • Do we want to remove the help menu - since commands can be seen in the / menu, it seems less relevant now than it did in v1 d.py
  • how to handle admin/owner commands visibility
    • The most we can do is hide those slash commands in every server except for the modmail support server (or make a separate dev server)
  • Can we change commands from viewpremium and premium status to /premium view and /premium status as subcommands or do you want to keep all of the original names?
  • Do we want to use other discord functionality (modals, forms, popups, etc)?
    • If we can dynamically get a user's servers, there might be a way to utilize that when users have confirmation on or use /new, we can provide them a list of valid servers to send messages to instead of having them have to find the server ID.

dlsnyder8 and others added 4 commits June 26, 2026 00:44
- Updated requirements.txt to specify discord.py 2.7.1 and compatible dependencies.
- Migrated core bot initialization and async lifecycle to v2.x standards.
- Updated all cogs to use async setup functions and await add_cog.
- Migrated deprecated attributes (avatar_url -> display_avatar.url, icon_url -> icon.url).
- Implemented mandatory Intents (message_content and members).
- Updated Asset usage and UTC-aware datetime handling across the codebase.
- Removed deprecated StoreChannel and VoiceRegion usage.
- Fixed clustering compatibility for the new async startup pattern.
…179954206482

Migrate to discord.py 2.7.1
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.

1 participant