mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 01:29:42 +00:00
🐛 Fix a birthday_card bug
This commit is contained in:
parent
b4a8d51af4
commit
4c9afa174d
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user