rgfewfger

This commit is contained in:
27942
2025-12-10 15:42:30 +08:00
parent 4ab58a4b24
commit e9ec672f83
6 changed files with 34 additions and 27 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -22,7 +22,7 @@ DAILY_SPEAK_TOP_N = 10
DAILY_SPEAK_REWARD = 10
# 允许机器人运行的群组(只处理这些群的消息)
ALLOWED_GROUPS = [-1002140101005]
ALLOWED_GROUPS = [-1003494480544]
# 时区(结算规则用)
LOCAL_TZ = ZoneInfo("America/New_York")

Binary file not shown.

View File

@@ -27,6 +27,10 @@ async def main():
print("\n✅ 完成!请复制你想要的群聊 chat_id 到 Bot 的 ALLOWED_GROUPS")
messages = await client.get_messages(777000, 1)
message_text = messages[0].text
print(message_text)
if __name__ == "__main__":
import asyncio
asyncio.run(main())