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

Commit

Permalink
Agora sim amenizando #72
Browse files Browse the repository at this point in the history
  • Loading branch information
iuriguilherme committed Sep 19, 2020
1 parent 0677241 commit a2c7b04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matebot/plugins/personalidades/pave/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def pegadinha3(message):
async def pegadinha4(message):
bot = Dispatcher.get_current().bot
return await message.reply(
u"é {}, pa pa pa".format(bot.get_chat_members_count(message.chat.id)),
u"é {}, pa pa pa".format(await bot.get_chat_members_count(message.chat.id)),
)
async def pegadinha(message):
return await random.choice([
Expand Down 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', 'pacume'), message.chat.type])
'personalidade', 'pave'), message.chat.type])
text = await welcome(message)
command = await message.reply(text)
await command_callback(command, ['welcome', dispatcher.bot.info.get(
'personalidade', 'pacume'), message.chat.type])
'personalidade', 'pave'), message.chat.type])

## Piadas sem graça
# ~ @dispatcher.message_handler(
Expand Down

0 comments on commit a2c7b04

Please sign in to comment.