mirror of
https://github.com/RYGhub/royalnet.git
synced 2025-02-17 10:53:57 +00:00
Non chiocciolare il mondo intero usando uno ZWS
This commit is contained in:
parent
d7c744c1b1
commit
dbfbf9a0c5
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ def cmd_cast(bot: Bot, update: Update):
|
|||
total = dmg_mod
|
||||
for dice in range(0, dmg_dice):
|
||||
total += random.randrange(1, dmg_max + 1)
|
||||
bot.send_message(update.message.chat.id, f"❇️ Ho lanciato {spell} su {target.username if target.username is not None else target.first_name} per {dmg_dice}d{dmg_max}{'+' if dmg_mod > 0 else ''}{str(dmg_mod) if dmg_mod != 0 else ''}={total if total > 0 else 0} danni!")
|
||||
bot.send_message(update.message.chat.id, f"❇️ Ho lanciato {spell} su @{target.username if target.username is not None else target.first_name} per {dmg_dice}d{dmg_max}{'+' if dmg_mod > 0 else ''}{str(dmg_mod) if dmg_mod != 0 else ''}={total if total > 0 else 0} danni!")
|
||||
|
||||
|
||||
def process(arg_discord_connection):
|
||||
|
@ -155,4 +155,4 @@ def process(arg_discord_connection):
|
|||
u.idle()
|
||||
|
||||
if __name__ == "__main__":
|
||||
process(None)
|
||||
process(None)
|
||||
|
|
Loading…
Add table
Reference in a new issue