🐛 Fix a birthday_card bug

This commit is contained in:
omg-xtao 2023-02-14 00:12:47 +08:00 committed by GitHub
parent b4a8d51af4
commit 4c9afa174d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ class BirthdayPlugin(Plugin, BasePlugin):
+ "_" + "_"
+ rm_starting_str(datetime.now().strftime("%d"), "0") + 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) @handler(CommandHandler, command="birthday", block=False)
@restricts() @restricts()