From 1efe5066d42c741c6abc4421ffca721d771b5e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ikun=E4=B8=A4=E5=B9=B4=E5=8D=8A?= <334495606@qq.com> Date: Tue, 19 Aug 2025 12:20:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20bot.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 回调彩蛋喵~ --- bot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b5e9b1a55..ebb5f1f34 100644 --- a/bot.py +++ b/bot.py @@ -66,7 +66,11 @@ async def request_shutdown() -> bool: def easter_egg(): # 彩蛋 init() - text = "多年以后,面对AI行刑队,张三将会回想起他2023年在会议上讨论人工智能的那个下午" + items = ["多年以后,面对AI行刑队,张三将会回想起他2023年在会议上讨论人工智能的那个下午", + "你知道吗?诺狐的耳朵很软,很好rua", + "喵喵~你的麦麦被猫娘入侵了喵~"] + w = [1, 1, 1] + text = weighted_choice(items, w) rainbow_colors = [Fore.RED, Fore.YELLOW, Fore.GREEN, Fore.CYAN, Fore.BLUE, Fore.MAGENTA] rainbow_text = "" for i, char in enumerate(text):