Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Commit

Permalink
Revert "Amenizando #72"
Browse files Browse the repository at this point in the history
This reverts commit 74712ee.
  • Loading branch information
iuriguilherme committed Sep 19, 2020
1 parent 013bc0f commit 0677241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion matebot/plugins/personalidades/pacume/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions matebot/plugins/personalidades/pave/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0677241

Please sign in to comment.