mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Sistemato help
This commit is contained in:
parent
a5b7e836c4
commit
c6f2fe1011
1 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ Sintassi: `/help [comando]`"""
|
|||
await update.message.reply(bot, "⚠ Sintassi del comando non valida.\n`/help [comando]`", parse_mode="Markdown")
|
||||
else:
|
||||
if arguments[0] in b.commands:
|
||||
await update.message.reply(bot, b.commands[arguments[0]].__doc__, parse_mode="Markdown")
|
||||
await update.message.reply(bot, b.commands[arguments[0] + "_telegram"].__doc__, parse_mode="Markdown")
|
||||
else:
|
||||
await update.message.reply(bot, "⚠ Il comando specificato non esiste.")
|
||||
|
||||
|
@ -246,7 +246,7 @@ Sintassi: `!help [comando]`"""
|
|||
bot.send_message(message.channel, "⚠ Sintassi del comando non valida.\n`!help [comando]`")
|
||||
else:
|
||||
if arguments[0] in b.commands:
|
||||
bot.send_message(message.channel, b.commands[arguments[0]].__doc__)
|
||||
bot.send_message(message.channel, b.commands[arguments[0] + "_discord"].__doc__)
|
||||
else:
|
||||
bot.send_message(message.channel, "⚠ Il comando specificato non esiste.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue