1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00
This commit is contained in:
Steffo 2020-10-20 18:12:27 +02:00
parent 75de52072e
commit d4649e0fa0
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@
[tool.poetry]
name = "royalpack"
version = "5.15.7"
version = "5.15.8"
description = "A Royalnet command pack for the Royal Games community"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+"

View file

@ -68,6 +68,7 @@ class FortuneCommand(rc.Command):
author = await data.find_author(session=session, required=True)
if len(author.steam) > 0 and author.steam[0].trionfistatus and author.steam[0].trionfistatus.zero:
author.steam[0].trionfistatus.x = datetime.datetime.now()
session.commit()
today = datetime.date.today()