Commited backup

This commit is contained in:
2025-07-10 21:02:34 +03:00
parent 952c1001e3
commit da0b80823e
1310 changed files with 254133 additions and 41 deletions

View File

@@ -0,0 +1,16 @@
from .. import loader, utils
def register(cb):
cb(NowPlayMod())
class NowPlayMod(loader.Module):
"""Что сейчас играет."""
strings = {'name': 'NowPlay'}
async def npcmd(self, message):
"""Скидывает то, что сейчас играет."""
await message.edit('Минуточку...')
np = await message.client.inline_query('nowplaybot', '')
await message.client.send_file(message.to_id, np[0].result.document)
await message.delete()