dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
648 stars 153 forks source link

[Fix] Slash commands in bot DMChannel #644

Closed l-404-l closed 5 months ago

l-404-l commented 6 months ago

Summary

Fixes and issue where you're unable to get slash commands via a bots DMChannel.

General Info

l-404-l commented 5 months ago

Updates: Adds natural client behavior. Fixes Message Commands.

dolfies commented 5 months ago

Thanks for the PR. For starters, this contains a lot of unnecessary formatting/docstring changes that are out of scope and conflict with the project's linting standards.

As for the change, Discord has updated how command retrieval works across the entire platform, not just DMs, so this isn't the right way to fix this, sorry.