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,32 +1,32 @@
# meta developer: @trololo_1
from .. import loader, utils
@loader.tds
class LsSendMod(loader.Module):
"""Отправка смс в лс по юзеру пользователя."""
strings = {'name':'LsSend'}
async def sendcmd(self, message):
""" .send {юзер} {текст или реплай}"""
try:
reply = await message.get_reply_message()
text = utils.get_args_raw(message)
id = str(text.split(' ')[0])
check = []
for i in text.split(' '):
check.append(i)
if len(check) <= 1:
send = reply
else:
send = str(text.split(' ', maxsplit=1)[1])
if send:
await message.client.send_message(id, send)
await message.edit('<b>Сообщение успешно отправлено!</b>')
else:
await message.edit('<b>Не было сделано реплая или нет текста.</b>')
except:
await message.edit('<b>Неверный юзер, юзера нет вообще, либо ещё какая то ошибка.</b>')
# meta developer: @trololo_1
from .. import loader, utils
@loader.tds
class LsSendMod(loader.Module):
"""Отправка смс в лс по юзеру пользователя."""
strings = {'name':'LsSend'}
async def sendcmd(self, message):
""" .send {юзер} {текст или реплай}"""
try:
reply = await message.get_reply_message()
text = utils.get_args_raw(message)
id = str(text.split(' ')[0])
check = []
for i in text.split(' '):
check.append(i)
if len(check) <= 1:
send = reply
else:
send = str(text.split(' ', maxsplit=1)[1])
if send:
await message.client.send_message(id, send)
await message.edit('<b>Сообщение успешно отправлено!</b>')
else:
await message.edit('<b>Не было сделано реплая или нет текста.</b>')
except:
await message.edit('<b>Неверный юзер, юзера нет вообще, либо ещё какая то ошибка.</b>')