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

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

No files matched your search

+1 -1
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):