mirror of
https://gitlab.com/octospacc/WinDog.git
synced 2025-06-05 22:09:20 +02:00
Add months-old WIP code, add global get_linker(),get_message(),delete_message() update Telegram, add /getmessage, multi-type media handling, misc fixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
def cBroadcast(context:EventContext, data:InputMessageData):
|
||||
language = data.user.settings.language
|
||||
if (data.user.id not in AdminIds) and (data.user.tag not in AdminIds):
|
||||
if not check_bot_admin(data.user):
|
||||
return send_status(context, 403, language)
|
||||
destination = data.command.arguments.destination
|
||||
text = (data.command.body or (data.quoted and data.quoted.text_plain))
|
||||
|
Reference in New Issue
Block a user