diff --git a/royalpack/commands/fortune.py b/royalpack/commands/fortune.py index b390d7b9..bafcdd98 100644 --- a/royalpack/commands/fortune.py +++ b/royalpack/commands/fortune.py @@ -66,6 +66,9 @@ class FortuneCommand(rc.Command): async def run(self, args: rc.CommandArgs, data: rc.CommandData) -> None: async with data.session_acm() as session: author = await data.find_author(session=session, required=True) + if author.trionfistatus and author.trionfistatus.zero: + author.trionfistatus.x = datetime.datetime.now() + today = datetime.date.today() h = author.uid * hash(today) @@ -74,4 +77,3 @@ class FortuneCommand(rc.Command): message = r.sample(self._fortunes, 1)[0] await data.reply(message) -