mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-30 15:04:18 +00:00
Rename cmd_search to cmd_cerca for consistency
This commit is contained in:
parent
04868e2bfb
commit
cd0a592c66
1 changed files with 2 additions and 2 deletions
|
@ -296,7 +296,7 @@ def cmd_vote(bot: Bot, update: Update):
|
||||||
|
|
||||||
|
|
||||||
@catch_and_report
|
@catch_and_report
|
||||||
def cmd_search(bot: Bot, update: Update):
|
def cmd_cerca(bot: Bot, update: Update):
|
||||||
session = db.Session()
|
session = db.Session()
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
|
@ -745,7 +745,7 @@ def process(arg_discord_connection):
|
||||||
u.dispatcher.add_handler(CommandHandler("r", cmd_roll))
|
u.dispatcher.add_handler(CommandHandler("r", cmd_roll))
|
||||||
u.dispatcher.add_handler(CommandHandler("mm", cmd_mm))
|
u.dispatcher.add_handler(CommandHandler("mm", cmd_mm))
|
||||||
u.dispatcher.add_handler(CommandHandler("matchmaking", cmd_mm))
|
u.dispatcher.add_handler(CommandHandler("matchmaking", cmd_mm))
|
||||||
u.dispatcher.add_handler(CommandHandler("cerca", cmd_search))
|
u.dispatcher.add_handler(CommandHandler("cerca", cmd_cerca))
|
||||||
u.dispatcher.add_handler(CallbackQueryHandler(on_callback_query))
|
u.dispatcher.add_handler(CallbackQueryHandler(on_callback_query))
|
||||||
logger.info("Handlers registered.")
|
logger.info("Handlers registered.")
|
||||||
u.start_polling()
|
u.start_polling()
|
||||||
|
|
Loading…
Reference in a new issue