rgfewfger
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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")
|
||||
|
||||
BIN
telegram/sign.db
BIN
telegram/sign.db
Binary file not shown.
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user