diff --git a/ubot.py b/ubot.py index 4f66d02..83e64a0 100644 --- a/ubot.py +++ b/ubot.py @@ -208,6 +208,26 @@ async def main(): await asyncio.sleep(10) await client.delete_messages(event.chat_id, [event.id, m.id]) + @client.on(events.NewMessage(outgoing=True, pattern='.help')) + async def cmd_help(event): + current_time = int(time.time()) + help_message = f''' +Commands for ub4tg +* - reply message required + +.ping - check ping (bot is working?) + +.biofuck - run autobioeb in chat (where sent), otional argument 'stop' for stop it + +.biocheck - checks victim if iris bot sent "Служба безопасности лаборатории сообщает" and eat them + +.bstat - check some stats + +* .biostealbackup - reply to avocado file '1234_victims_{my_id}_{current_time}.json' or '1234 users from 0 exp (ch).txt' (aska bot formatted) for import their backup, optional argument 'me' if you want import yourself backup + ''' + await asyncio.sleep(1) + await event.edit(help_message) + await client.run_until_disconnected()