From 0677241985bc1e5cd8a77ce356ab200ad7ec90bf Mon Sep 17 00:00:00 2001 From: Iuri Guilherme <2027447+iuriguilherme@users.noreply.github.com> Date: Sat, 19 Sep 2020 01:01:35 +0100 Subject: [PATCH] Revert "Amenizando #72" This reverts commit 74712ee457cc7e7662f6308126fbdce58598e4bf. --- matebot/plugins/personalidades/pacume/__init__.py | 2 +- matebot/plugins/personalidades/pave/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/matebot/plugins/personalidades/pacume/__init__.py b/matebot/plugins/personalidades/pacume/__init__.py index 72a24ae..b0ea542 100644 --- a/matebot/plugins/personalidades/pacume/__init__.py +++ b/matebot/plugins/personalidades/pacume/__init__.py @@ -73,7 +73,7 @@ async def welcome_callback(message: types.Message): 'personalidade', 'pacume'), message.chat.type]) text = await welcome(message) command = await message.reply(text) - await command_callback(command, ['welcome', await dispatcher.bot.info.get( + await command_callback(command, ['welcome', dispatcher.bot.info.get( 'personalidade', 'pacume'), message.chat.type]) ## Piadas sem graça diff --git a/matebot/plugins/personalidades/pave/__init__.py b/matebot/plugins/personalidades/pave/__init__.py index 755c4bf..055cb2e 100644 --- a/matebot/plugins/personalidades/pave/__init__.py +++ b/matebot/plugins/personalidades/pave/__init__.py @@ -97,11 +97,11 @@ async def welcome_pegadinha_callback(message: types.Message): ) async def welcome_callback(message: types.Message): await message_callback(message, ['welcome', dispatcher.bot.info.get( - 'personalidade', 'pave'), message.chat.type]) + 'personalidade', 'pacume'), message.chat.type]) text = await welcome(message) command = await message.reply(text) - await command_callback(command, ['welcome', await dispatcher.bot.info.get( - 'personalidade', 'pave'), message.chat.type]) + await command_callback(command, ['welcome', dispatcher.bot.info.get( + 'personalidade', 'pacume'), message.chat.type]) ## Piadas sem graça # ~ @dispatcher.message_handler(