mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
ops
This commit is contained in:
parent
75de52072e
commit
d4649e0fa0
2 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalpack"
|
name = "royalpack"
|
||||||
version = "5.15.7"
|
version = "5.15.8"
|
||||||
description = "A Royalnet command pack for the Royal Games community"
|
description = "A Royalnet command pack for the Royal Games community"
|
||||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||||
license = "AGPL-3.0+"
|
license = "AGPL-3.0+"
|
||||||
|
|
|
@ -68,6 +68,7 @@ class FortuneCommand(rc.Command):
|
||||||
author = await data.find_author(session=session, required=True)
|
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:
|
if len(author.steam) > 0 and author.steam[0].trionfistatus and author.steam[0].trionfistatus.zero:
|
||||||
author.steam[0].trionfistatus.x = datetime.datetime.now()
|
author.steam[0].trionfistatus.x = datetime.datetime.now()
|
||||||
|
session.commit()
|
||||||
|
|
||||||
today = datetime.date.today()
|
today = datetime.date.today()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue