feat: improve QQ channel setup guide and fix botpy intent flags

This commit is contained in:
Re-bin
2026-02-09 16:17:35 +00:00
parent 03d3c69a4a
commit 4f928e9d2a
2 changed files with 17 additions and 13 deletions

View File

@@ -27,7 +27,7 @@ if TYPE_CHECKING:
def _make_bot_class(channel: "QQChannel") -> "type[botpy.Client]":
"""Create a botpy Client subclass bound to the given channel."""
intents = botpy.Intents(c2c_message=True)
intents = botpy.Intents(public_messages=True, direct_message=True)
class _Bot(botpy.Client):
def __init__(self):