From 4c9afa174dd6202014e80b57c7ec5bfe82cc936b Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Tue, 14 Feb 2023 00:12:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20a=20birthday=5Fcard=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/birthday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/birthday.py b/plugins/genshin/birthday.py index 71ee1410..347caf58 100644 --- a/plugins/genshin/birthday.py +++ b/plugins/genshin/birthday.py @@ -63,7 +63,7 @@ class BirthdayPlugin(Plugin, BasePlugin): + "_" + rm_starting_str(datetime.now().strftime("%d"), "0") ) - return self.birthday_list.get(key, []) + return (self.birthday_list.get(key, [])).copy() @handler(CommandHandler, command="birthday", block=False) @restricts()