1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2020-09-28 20:22:57 +02:00
parent a4faf1eeff
commit de1941bab4
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -72,8 +72,8 @@ class FortuneCommand(rc.Command):
r = random.Random(x=h)
if author is not None and author.halloween2020 is not None:
author.halloween2020.x = datetime.datetime.now()
if author is not None and len(author.steam) >= 0 and author.steam[0].trionfistatus is not None:
author.steam[0].trionfistatus.x = datetime.datetime.now()
await ru.asyncify(session.commit)
message = r.sample(self._fortunes, 1)[0]