2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-22 18:19:16 +00:00

bot-ify cheem/pop

This commit is contained in:
Nick80835 2020-03-24 11:03:53 -04:00
parent cba3cc6a32
commit d67a6c4669

View File

@ -59,20 +59,26 @@ async def vapor(event):
@ldr.add(pattern="pop")
async def popifycmd(event):
text_arg = await get_text_arg(event)
text_arg, reply = await get_text_arg(event)
pop_text = await popify(text_arg)
await event.edit(pop_text)
if reply:
await reply.reply(pop_text)
else:
await event.reply(pop_text)
@ldr.add(pattern="cheem")
async def cheemifycmd(event):
text_arg = await get_text_arg(event)
text_arg, reply = await get_text_arg(event)
cheems_text = await cheemify(text_arg)
await event.edit(cheems_text)
if reply:
await reply.reply(cheems_text)
else:
await event.reply(cheems_text)
@ldr.add(pattern="zal")