diff --git a/grandbot.py b/grandbot.py index 3cb171b4..218f2f6e 100644 --- a/grandbot.py +++ b/grandbot.py @@ -454,7 +454,7 @@ async def roll_telegram(bot, update, arguments): Sintassi: `/roll `""" # Check the command syntax - if len(arguments) != 0: + if len(arguments) != 1: await update.message.reply(bot, "⚠ Sintassi del comando non valida.\n`/roll `", parse_mode="Markdown") return @@ -467,7 +467,7 @@ async def roll_discord(bot, message, arguments): Sintassi: `!roll `""" # Check the command syntax - if len(arguments) != 0: + if len(arguments) != 1: await bot.send_message(message.channel, "⚠ Sintassi del comando non valida.\n`!roll `") return # Roll the dice!