mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-16 14:34:17 +02:00
18 lines
451 B
Python
18 lines
451 B
Python
# @Sekai_Yoneya
|
|
|
|
from .. import loader
|
|
from random import choice as Yoneya
|
|
|
|
|
|
def register(cb):
|
|
cb(PicPhotosMod())
|
|
|
|
class PicPhotosMod(loader.Module):
|
|
"""Фотографии из @pic."""
|
|
strings = {'name': 'Pic'}
|
|
|
|
async def gowcmd(self, event):
|
|
await event.edit('<b>Бог Войны!</b>')
|
|
reslt=await event.client.inline_query('pic',Yoneya(['Кратос убил Зевса']))
|
|
await reslt[reslt.index(Yoneya(reslt))].click(event.to_id)
|