Added and updated repositories 2025-07-11 08:27:20

This commit is contained in:
github-actions[bot]
2025-07-11 08:27:20 +00:00
parent 35e8befc45
commit e328cd957a
320 changed files with 37419 additions and 33510 deletions

View File

@@ -1,42 +1,42 @@
# meta developer: @trololo_1
from .. import utils, loader
from asyncio import sleep
class BFGMod(loader.Module):
"""Send mes"""
strigs = {'name': 'BFGMod'}
async def client_ready(self, client, db):
self.db = db
async def bbtoncmd(self, message):
""" """
await utils.answer(message, '<b>Запущено</b>')
status = self.db.set('BFGMod', 'status1', True)
while status:
for i in range(15):
if not self.db.get('BFGMod', 'status1'): return
await message.respond('10')
await sleep(2)
status = self.db.get('BFGMod', 'status1')
await message.respond('🚀Оценивать')
async def bbtoffcmd(self, message):
""" """
self.db.set('BFGMod', 'status1', False)
await utils.answer(message, '<b>Остановлено</b>')
async def bfgoncmd(self, message):
""" """
await utils.answer(message, '<b>Запущено</b>')
status = self.db.set('BFGMod', 'status2', True)
while status:
await message.respond('копать материю')
await sleep(60*5)
status = self.db.get('BFGMod', 'status2')
if not status: return
async def bfgoffcmd(self, message):
""" """
self.db.set('BFGMod', 'status2', False)
await utils.answer(message, '<b>Остановлено</b>')
# meta developer: @trololo_1
from .. import utils, loader
from asyncio import sleep
class BFGMod(loader.Module):
"""Send mes"""
strigs = {'name': 'BFGMod'}
async def client_ready(self, client, db):
self.db = db
async def bbtoncmd(self, message):
""" """
await utils.answer(message, '<b>Запущено</b>')
status = self.db.set('BFGMod', 'status1', True)
while status:
for i in range(15):
if not self.db.get('BFGMod', 'status1'): return
await message.respond('10')
await sleep(2)
status = self.db.get('BFGMod', 'status1')
await message.respond('🚀Оценивать')
async def bbtoffcmd(self, message):
""" """
self.db.set('BFGMod', 'status1', False)
await utils.answer(message, '<b>Остановлено</b>')
async def bfgoncmd(self, message):
""" """
await utils.answer(message, '<b>Запущено</b>')
status = self.db.set('BFGMod', 'status2', True)
while status:
await message.respond('копать материю')
await sleep(60*5)
status = self.db.get('BFGMod', 'status2')
if not status: return
async def bfgoffcmd(self, message):
""" """
self.db.set('BFGMod', 'status2', False)
await utils.answer(message, '<b>Остановлено</b>')