1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/royalpack/commands/balance.py

17 lines
469 B
Python
Raw Normal View History

2021-04-20 00:47:31 +00:00
import royalnet.engineer as engi
import royalpack.database as rd
import royalpack.bolts as rb
@engi.use_database(rd.lazy_session_class)
@rb.use_ryglogin(allow_anonymous=False)
@engi.TeleportingConversation
async def balance(*, _sentry: engi.Sentry, _msg: engi.Message, _user: rd.User, **__):
"""
Visualizza il tuo portafoglio di fiorygi.
"""
await _msg.reply(text=f"💰 Al momento, possiedi \uE01Bƒ {_user.fiorygi}\uE00B.")
__all__ = ("balance",)