mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-23 09:51:41 +00:00
Apply CVE
This commit is contained in:
parent
4805ecfd50
commit
425f12e3d2
@ -1,6 +1,7 @@
|
||||
import json
|
||||
import random
|
||||
import requests
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from os import remove
|
||||
|
1
aff.py
1
aff.py
@ -1,6 +1,7 @@
|
||||
from time import sleep
|
||||
from os.path import exists
|
||||
from os import mkdir, remove
|
||||
from pagermaid import version
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
from telethon.errors import ChatAdminRequiredError
|
||||
from telethon.tl.types import Channel, ChatBannedRights
|
||||
from telethon.tl.functions.channels import GetFullChannelRequest, EditBannedRequest
|
||||
from pagermaid import redis, log, redis_status, bot, user_id
|
||||
from pagermaid import redis, log, redis_status, bot, user_id, version
|
||||
from pagermaid.utils import lang, alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
from telethon.errors import ChatAdminRequiredError
|
||||
from telethon.tl.types import Channel
|
||||
from asyncio import sleep
|
||||
from pagermaid import redis, log, redis_status
|
||||
from pagermaid import redis, log, redis_status, version
|
||||
from pagermaid.utils import lang, alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
""" Auto-delete sticker when someone reply """
|
||||
|
||||
from pagermaid import user_id
|
||||
from pagermaid import user_id, version
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
from pagermaid import version
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid.listener import listener
|
||||
import time
|
||||
|
@ -4,7 +4,7 @@ from asyncio import sleep
|
||||
from datetime import datetime, timedelta, timezone
|
||||
from telethon.tl.functions.account import UpdateProfileRequest
|
||||
from emoji import emojize
|
||||
from pagermaid import bot, log
|
||||
from pagermaid import bot, log, version
|
||||
from pagermaid.listener import listener
|
||||
|
||||
auto_change_name_init = False
|
||||
|
@ -7,7 +7,7 @@ import traceback
|
||||
from asyncio import sleep
|
||||
from telethon.tl.types import PeerUser
|
||||
from telethon.tl.custom import Message
|
||||
from pagermaid import redis, redis_status
|
||||
from pagermaid import redis, redis_status, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, pip_install
|
||||
|
||||
|
@ -17,7 +17,7 @@ from telethon.tl.custom.message import Message
|
||||
from telethon.tl.functions.messages import GetAllStickersRequest
|
||||
from telethon.tl.functions.messages import GetStickerSetRequest
|
||||
from telethon.tl.types import InputStickerSetID
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
""" Pagermaid autorespond plugin. """
|
||||
|
||||
from telethon.events import StopPropagation
|
||||
from pagermaid import persistent_vars, log
|
||||
from pagermaid import persistent_vars, log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
# By tg @fruitymelon
|
||||
# extra requirements: dateparser
|
||||
import asyncio, time, traceback, sys
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, pip_install
|
||||
|
||||
|
1
bc.py
1
bc.py
@ -11,6 +11,7 @@ from asyncio import sleep
|
||||
from sys import executable
|
||||
import urllib.request
|
||||
from telethon.tl.custom.message import Message
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import execute, alias_command, pip_install
|
||||
|
||||
|
4
bin.py
4
bin.py
@ -1,5 +1,7 @@
|
||||
import json, requests
|
||||
import json
|
||||
import requests
|
||||
from json.decoder import JSONDecodeError
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import obtain_message, alias_command
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
import json
|
||||
import random
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from os import remove
|
||||
|
@ -1,3 +1,4 @@
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import attach_log, execute, alias_command
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
import json, requests
|
||||
import json
|
||||
import requests
|
||||
from urllib.parse import quote
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, obtain_message, lang, clear_emojis
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
from random import randint, random
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from os import remove
|
||||
|
@ -1,5 +1,6 @@
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, obtain_message, pip_install
|
||||
from pagermaid import version
|
||||
|
||||
pip_install("covid")
|
||||
|
||||
|
2
covid.py
2
covid.py
@ -2,7 +2,7 @@
|
||||
|
||||
import json
|
||||
from typing import Dict
|
||||
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, obtain_message, get
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
from secrets import choice
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
2
da.py
2
da.py
@ -1,5 +1,5 @@
|
||||
from asyncio import sleep
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from telethon.errors import PeerFloodError
|
||||
|
62
dc.py
Normal file
62
dc.py
Normal file
@ -0,0 +1,62 @@
|
||||
from telethon.tl.functions.users import GetFullUserRequest
|
||||
from telethon.tl.types import MessageEntityMentionName, MessageEntityPhone
|
||||
from struct import error as StructError
|
||||
from pagermaid import bot, log, silent, version
|
||||
from pagermaid.utils import lang, alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
||||
@listener(is_plugin=False, outgoing=True, command=alias_command('dc'),
|
||||
description="获取指定用户的 DC",
|
||||
parameters="<username/id>")
|
||||
async def dc(context):
|
||||
if len(context.parameter) > 1:
|
||||
await context.edit(f"{lang('error_prefix')}{lang('arg_error')}")
|
||||
return
|
||||
if not silent:
|
||||
await context.edit(lang('profile_process'))
|
||||
if context.reply_to_msg_id:
|
||||
reply_message = await context.get_reply_message()
|
||||
if not reply_message:
|
||||
return await context.edit(f"{lang('error_prefix')}{lang('arg_error')}")
|
||||
user = reply_message.from_id
|
||||
try:
|
||||
target_user = await context.client(GetFullUserRequest(user))
|
||||
except TypeError:
|
||||
return await context.edit("[dc] 暂不支持频道。")
|
||||
else:
|
||||
if len(context.parameter) == 1:
|
||||
user = context.parameter[0]
|
||||
if user.isnumeric():
|
||||
user = int(user)
|
||||
else:
|
||||
user_object = await context.client.get_me()
|
||||
user = user_object.id
|
||||
if context.message.entities is not None:
|
||||
if isinstance(context.message.entities[0], MessageEntityMentionName):
|
||||
user = context.message.entities[0].user_id
|
||||
elif isinstance(context.message.entities[0], MessageEntityPhone):
|
||||
user = int(context.parameter[0])
|
||||
else:
|
||||
await context.edit(f"{lang('error_prefix')}{lang('arg_error')}")
|
||||
return
|
||||
try:
|
||||
user_object = await context.client.get_entity(user)
|
||||
target_user = await context.client(GetFullUserRequest(user_object.id))
|
||||
except (TypeError, ValueError, OverflowError, StructError) as exception:
|
||||
if str(exception).startswith("Cannot find any entity corresponding to"):
|
||||
await context.edit(f"{lang('error_prefix')}{lang('profile_e_no')}")
|
||||
return
|
||||
if str(exception).startswith("No user has"):
|
||||
await context.edit(f"{lang('error_prefix')}{lang('profile_e_nou')}")
|
||||
return
|
||||
if str(exception).startswith("Could not find the input entity for") or isinstance(exception, StructError):
|
||||
await context.edit(f"{lang('error_prefix')}{lang('profile_e_nof')}")
|
||||
return
|
||||
if isinstance(exception, OverflowError):
|
||||
await context.edit(f"{lang('error_prefix')}{lang('profile_e_long')}")
|
||||
return
|
||||
raise exception
|
||||
if not target_user.user.photo:
|
||||
return await context.edit("[dc] 需要先设置头像并且对我可见。")
|
||||
await context.edit(f"[dc] 所在数据中心为: **DC{target_user.user.photo.dc_id}**")
|
@ -9,6 +9,7 @@
|
||||
|
||||
from asyncio import sleep
|
||||
from telethon.tl.custom.message import Message
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
2
denyu.py
2
denyu.py
@ -2,7 +2,7 @@
|
||||
|
||||
# Plugin by fruitymelon
|
||||
|
||||
from pagermaid import redis, log, redis_status
|
||||
from pagermaid import redis, log, redis_status, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
1
diss.py
1
diss.py
@ -1,4 +1,5 @@
|
||||
from asyncio import sleep
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, get
|
||||
|
||||
|
1
diy.py
1
diy.py
@ -2,6 +2,7 @@ import json
|
||||
from random import randint, choice
|
||||
from time import sleep
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
1
dme.py
1
dme.py
@ -1,4 +1,5 @@
|
||||
""" Module to automate message deletion. """
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, lang
|
||||
from pagermaid.modules.prune import selfprune
|
||||
|
2
eat.py
2
eat.py
@ -15,7 +15,7 @@ from telethon.errors.rpcerrorlist import ChatSendStickersForbiddenError
|
||||
from struct import error as StructError
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid import redis, config, bot, user_id
|
||||
from pagermaid import redis, config, bot, user_id, version
|
||||
from collections import defaultdict
|
||||
import json
|
||||
|
||||
|
1
epic.py
1
epic.py
@ -3,6 +3,7 @@ import sys
|
||||
from requests import post, get
|
||||
from pytz import timezone
|
||||
from datetime import datetime
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
""" Module to automate sticker deletion. """
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, lang
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pagermaid import bot, redis, redis_status
|
||||
from pagermaid import bot, redis, redis_status, version
|
||||
from pagermaid.utils import lang, alias_command
|
||||
from pagermaid.listener import listener
|
||||
from asyncio import sleep
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
# By tg @fruitymelon
|
||||
|
||||
from pagermaid import version
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pagermaid import bot, redis, redis_status
|
||||
from pagermaid import bot, redis, redis_status, version
|
||||
from pagermaid.utils import lang, alias_command
|
||||
from pagermaid.listener import listener
|
||||
from asyncio import sleep
|
||||
|
1
fuck.py
1
fuck.py
@ -9,6 +9,7 @@
|
||||
|
||||
from datetime import timedelta
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid import version
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid import version
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
from telethon.errors.rpcerrorlist import UserAdminInvalidError, ChatAdminRequiredError, FloodWaitError
|
||||
from asyncio import sleep
|
||||
|
@ -1,5 +1,5 @@
|
||||
""" Module to automate sticker deletion. """
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, lang
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
""" Module to automate sticker deletion. """
|
||||
from asyncio import sleep
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -7,7 +7,7 @@ from telethon.tl.functions.messages import GetAllStickersRequest
|
||||
from telethon.tl.functions.messages import GetStickerSetRequest
|
||||
from telethon.errors import MessageNotModifiedError
|
||||
from telethon.errors.rpcerrorlist import StickersetInvalidError
|
||||
from pagermaid import working_dir
|
||||
from pagermaid import working_dir, version
|
||||
from telethon.tl.types import (
|
||||
DocumentAttributeSticker,
|
||||
InputStickerSetID,
|
||||
|
@ -6,7 +6,7 @@ from telethon.tl.types import DocumentAttributeFilename, InputStickerSetEmpty, I
|
||||
InputStickerSetThumb, MessageMediaPhoto
|
||||
from PIL import Image
|
||||
from pytz import timezone
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
1
ghs.py
1
ghs.py
@ -1,5 +1,6 @@
|
||||
import random
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from os import remove
|
||||
from pagermaid.utils import alias_command
|
||||
|
@ -1,6 +1,7 @@
|
||||
import datetime
|
||||
from pytz import timezone
|
||||
from telethon.tl.functions.users import GetFullUserRequest
|
||||
from pagermaid import version
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -6,6 +6,7 @@ from os import makedirs
|
||||
from sys import executable
|
||||
from collections import defaultdict
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.utils import execute, alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
""" Pagermaid hyperlink plugin. by @OahiewUoil """
|
||||
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
""" PagerMaid module to handle jd command. """
|
||||
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import lang, alias_command, obtain_message, post
|
||||
|
||||
|
@ -5,7 +5,7 @@ from shutil import copyfile, move, rmtree
|
||||
from uuid import uuid4
|
||||
from base64 import b64encode, b64decode
|
||||
from importlib import import_module
|
||||
from pagermaid import bot, redis, log, redis_status, working_dir
|
||||
from pagermaid import bot, redis, log, redis_status, working_dir, version
|
||||
from pagermaid import user_id as me_id
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pagermaid import bot, log
|
||||
from pagermaid import bot, log, version
|
||||
from pagermaid.listener import listener
|
||||
from asyncio import sleep
|
||||
from datetime import timedelta
|
||||
|
@ -2,6 +2,7 @@
|
||||
from asyncio import sleep
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
from telethon.errors.rpcerrorlist import FloodWaitError
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid import version
|
||||
|
||||
jieba_imported = True
|
||||
|
||||
|
180
list.json
180
list.json
@ -2,7 +2,7 @@
|
||||
"list": [
|
||||
{
|
||||
"name": "autorespond",
|
||||
"version": "0.211",
|
||||
"version": "0.212",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.9 kb",
|
||||
@ -12,7 +12,7 @@
|
||||
},
|
||||
{
|
||||
"name": "autochangename",
|
||||
"version": "1.11",
|
||||
"version": "1.111",
|
||||
"section": "profile",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "2.1 kb",
|
||||
@ -22,7 +22,7 @@
|
||||
},
|
||||
{
|
||||
"name": "autorm",
|
||||
"version": "1.032",
|
||||
"version": "1.033",
|
||||
"section": "chat",
|
||||
"maintainer": "fruitymelon",
|
||||
"size": "6.7 kb",
|
||||
@ -32,7 +32,7 @@
|
||||
},
|
||||
{
|
||||
"name": "sendat",
|
||||
"version": "1.321",
|
||||
"version": "1.322",
|
||||
"section": "chat",
|
||||
"maintainer": "fruitymelon",
|
||||
"size": "15.0 kb",
|
||||
@ -42,7 +42,7 @@
|
||||
},
|
||||
{
|
||||
"name": "weather",
|
||||
"version": "1.11",
|
||||
"version": "1.111",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "2.9 kb",
|
||||
@ -52,7 +52,7 @@
|
||||
},
|
||||
{
|
||||
"name": "xtao-some",
|
||||
"version": "1.22",
|
||||
"version": "1.221",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "12.9 kb",
|
||||
@ -62,7 +62,7 @@
|
||||
},
|
||||
{
|
||||
"name": "yb-dl",
|
||||
"version": "1.03",
|
||||
"version": "1.031",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "18.8 kb",
|
||||
@ -72,7 +72,7 @@
|
||||
},
|
||||
{
|
||||
"name": "throwit",
|
||||
"version": "1.62",
|
||||
"version": "1.621",
|
||||
"section": "profile",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "6.9 kb",
|
||||
@ -82,7 +82,7 @@
|
||||
},
|
||||
{
|
||||
"name": "rate",
|
||||
"version": "1.41",
|
||||
"version": "1.411",
|
||||
"section": "daily",
|
||||
"maintainer": "fruitymelon",
|
||||
"size": "3.4 kb",
|
||||
@ -92,7 +92,7 @@
|
||||
},
|
||||
{
|
||||
"name": "netease",
|
||||
"version": "1.31",
|
||||
"version": "1.311",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada、KorenKrita",
|
||||
"size": "0.7 kb",
|
||||
@ -102,7 +102,7 @@
|
||||
},
|
||||
{
|
||||
"name": "atadmins_atall",
|
||||
"version": "1.12",
|
||||
"version": "1.121",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "2.5 kb",
|
||||
@ -112,7 +112,7 @@
|
||||
},
|
||||
{
|
||||
"name": "denyu",
|
||||
"version": "1.111",
|
||||
"version": "1.12",
|
||||
"section": "chat",
|
||||
"maintainer": "fruitymelon",
|
||||
"size": "2.7 kb",
|
||||
@ -122,7 +122,7 @@
|
||||
},
|
||||
{
|
||||
"name": "hyperlink",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "daily",
|
||||
"maintainer": "OahiewUoil",
|
||||
"size": "0.5 kb",
|
||||
@ -132,7 +132,7 @@
|
||||
},
|
||||
{
|
||||
"name": "nthmsg",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "chat",
|
||||
"maintainer": "seiuneko",
|
||||
"size": "0.9 kb",
|
||||
@ -142,7 +142,7 @@
|
||||
},
|
||||
{
|
||||
"name": "portball",
|
||||
"version": "1.452",
|
||||
"version": "1.453",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "2.8 kb",
|
||||
@ -152,7 +152,7 @@
|
||||
},
|
||||
{
|
||||
"name": "resou",
|
||||
"version": "1.22",
|
||||
"version": "1.221",
|
||||
"section": "daily",
|
||||
"maintainer": "KorenKrita、xtaodada、monsterxcn",
|
||||
"size": "6.1 kb",
|
||||
@ -162,7 +162,7 @@
|
||||
},
|
||||
{
|
||||
"name": "mjx",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "profile",
|
||||
"maintainer": "KorenKrita",
|
||||
"size": "1 kb",
|
||||
@ -172,7 +172,7 @@
|
||||
},
|
||||
{
|
||||
"name": "tel",
|
||||
"version": "1.11",
|
||||
"version": "1.111",
|
||||
"section": "daily",
|
||||
"maintainer": "KorenKrita、xtaodada",
|
||||
"size": "1 kb",
|
||||
@ -182,7 +182,7 @@
|
||||
},
|
||||
{
|
||||
"name": "whois",
|
||||
"version": "1.14",
|
||||
"version": "1.141",
|
||||
"section": "daily",
|
||||
"maintainer": "KorenKrita",
|
||||
"size": "1.1 kb",
|
||||
@ -192,7 +192,7 @@
|
||||
},
|
||||
{
|
||||
"name": "eat",
|
||||
"version": "1.043",
|
||||
"version": "1.044",
|
||||
"section": "profile",
|
||||
"maintainer": "SF_PICK",
|
||||
"size": "22.3 kb",
|
||||
@ -202,7 +202,7 @@
|
||||
},
|
||||
{
|
||||
"name": "cosplay-multi",
|
||||
"version": "1.31",
|
||||
"version": "1.311",
|
||||
"section": "daily",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "2.4 kb",
|
||||
@ -212,7 +212,7 @@
|
||||
},
|
||||
{
|
||||
"name": "meizi",
|
||||
"version": "1.81",
|
||||
"version": "1.811",
|
||||
"section": "daily",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "4.0 kb",
|
||||
@ -222,7 +222,7 @@
|
||||
},
|
||||
{
|
||||
"name": "acg-multi",
|
||||
"version": "1.41",
|
||||
"version": "1.411",
|
||||
"section": "daily",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "2.4 kb",
|
||||
@ -232,7 +232,7 @@
|
||||
},
|
||||
{
|
||||
"name": "da",
|
||||
"version": "1.021",
|
||||
"version": "1.022",
|
||||
"section": "chat",
|
||||
"maintainer": "yxkumad",
|
||||
"size": "1.6 kb",
|
||||
@ -242,7 +242,7 @@
|
||||
},
|
||||
{
|
||||
"name": "diss",
|
||||
"version": "1.111",
|
||||
"version": "1.112",
|
||||
"section": "chat",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "1.4 kb",
|
||||
@ -252,7 +252,7 @@
|
||||
},
|
||||
{
|
||||
"name": "shangliu",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "2.5 kb",
|
||||
@ -262,7 +262,7 @@
|
||||
},
|
||||
{
|
||||
"name": "neteaseshuffle",
|
||||
"version": "1.112",
|
||||
"version": "1.113",
|
||||
"section": "daily",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "3.0 kb",
|
||||
@ -272,7 +272,7 @@
|
||||
},
|
||||
{
|
||||
"name": "neteasedown",
|
||||
"version": "1.225",
|
||||
"version": "1.226",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "11.4 kb",
|
||||
@ -282,7 +282,7 @@
|
||||
},
|
||||
{
|
||||
"name": "killallmembers",
|
||||
"version": "1.12",
|
||||
"version": "1.121",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "idk",
|
||||
@ -292,7 +292,7 @@
|
||||
},
|
||||
{
|
||||
"name": "videodl",
|
||||
"version": "0.121",
|
||||
"version": "0.122",
|
||||
"section": "daily",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "5.3 kb",
|
||||
@ -302,7 +302,7 @@
|
||||
},
|
||||
{
|
||||
"name": "aff",
|
||||
"version": "1.21",
|
||||
"version": "1.211",
|
||||
"section": "chat",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "2.0 kb",
|
||||
@ -312,7 +312,7 @@
|
||||
},
|
||||
{
|
||||
"name": "stickertopic",
|
||||
"version": "1.12",
|
||||
"version": "1.121",
|
||||
"section": "chat",
|
||||
"maintainer": "TNTcraftHIM",
|
||||
"size": "3.5 kb",
|
||||
@ -322,7 +322,7 @@
|
||||
},
|
||||
{
|
||||
"name": "vip",
|
||||
"version": "0.713",
|
||||
"version": "0.714",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "11.6 kb",
|
||||
@ -332,7 +332,7 @@
|
||||
},
|
||||
{
|
||||
"name": "calculator",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "1.0 kb",
|
||||
@ -342,7 +342,7 @@
|
||||
},
|
||||
{
|
||||
"name": "paolu",
|
||||
"version": "1.021",
|
||||
"version": "1.022",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "1.0 kb",
|
||||
@ -352,7 +352,7 @@
|
||||
},
|
||||
{
|
||||
"name": "autoreplysticker",
|
||||
"version": "1.232",
|
||||
"version": "1.233",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "12 kb",
|
||||
@ -362,7 +362,7 @@
|
||||
},
|
||||
{
|
||||
"name": "deletemsgsfromgrps",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "4 kb",
|
||||
@ -372,7 +372,7 @@
|
||||
},
|
||||
{
|
||||
"name": "keyword",
|
||||
"version": "2.702",
|
||||
"version": "2.703",
|
||||
"section": "chat",
|
||||
"maintainer": "c3b2a,xtaodada",
|
||||
"size": "47.6 kb",
|
||||
@ -382,7 +382,7 @@
|
||||
},
|
||||
{
|
||||
"name": "transfer",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "daily",
|
||||
"maintainer": "c3b2a",
|
||||
"size": "2.7 kb",
|
||||
@ -392,7 +392,7 @@
|
||||
},
|
||||
{
|
||||
"name": "xjj",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "daily",
|
||||
"maintainer": "Moriarty-989",
|
||||
"size": "1.4 kb",
|
||||
@ -402,7 +402,7 @@
|
||||
},
|
||||
{
|
||||
"name": "zpr",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "daily",
|
||||
"maintainer": "Moriarty-989",
|
||||
"size": "1.4 kb",
|
||||
@ -412,7 +412,7 @@
|
||||
},
|
||||
{
|
||||
"name": "forcesend",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "fruitymelon",
|
||||
"size": "1.3 kb",
|
||||
@ -422,7 +422,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ghs",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "akun",
|
||||
"size": "1.3 kb",
|
||||
@ -432,7 +432,7 @@
|
||||
},
|
||||
{
|
||||
"name": "bc",
|
||||
"version": "1.231",
|
||||
"version": "1.232",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "8.0 kb",
|
||||
@ -442,7 +442,7 @@
|
||||
},
|
||||
{
|
||||
"name": "diy",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "ahhhiiii,xtaodada",
|
||||
"size": "2.9 kb",
|
||||
@ -452,7 +452,7 @@
|
||||
},
|
||||
{
|
||||
"name": "bingwall",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "ahhhiiii",
|
||||
"size": "1.9 kb",
|
||||
@ -462,7 +462,7 @@
|
||||
},
|
||||
{
|
||||
"name": "pl",
|
||||
"version": "1.031",
|
||||
"version": "1.032",
|
||||
"section": "chat",
|
||||
"maintainer": "lowking",
|
||||
"size": "4.0 kb",
|
||||
@ -472,7 +472,7 @@
|
||||
},
|
||||
{
|
||||
"name": "rape",
|
||||
"version": "1.033",
|
||||
"version": "1.034",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "4.0 kb",
|
||||
@ -482,7 +482,7 @@
|
||||
},
|
||||
{
|
||||
"name": "fuck",
|
||||
"version": "1.023",
|
||||
"version": "1.024",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "4.0 kb",
|
||||
@ -492,7 +492,7 @@
|
||||
},
|
||||
{
|
||||
"name": "groupword",
|
||||
"version": "1.06",
|
||||
"version": "1.061",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.32 kb",
|
||||
@ -502,7 +502,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kongge",
|
||||
"version": "1.04",
|
||||
"version": "1.041",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.0 kb",
|
||||
@ -512,7 +512,7 @@
|
||||
},
|
||||
{
|
||||
"name": "getstickers",
|
||||
"version": "1.111",
|
||||
"version": "1.112",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada,Vesugierii",
|
||||
"size": "5.4 kb",
|
||||
@ -522,7 +522,7 @@
|
||||
},
|
||||
{
|
||||
"name": "fucksticker",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.14 kb",
|
||||
@ -532,7 +532,7 @@
|
||||
},
|
||||
{
|
||||
"name": "pic2sticker",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.7 kb",
|
||||
@ -542,7 +542,7 @@
|
||||
},
|
||||
{
|
||||
"name": "listusernames",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "0.7 kb",
|
||||
@ -552,7 +552,7 @@
|
||||
},
|
||||
{
|
||||
"name": "fuckadmin",
|
||||
"version": "1.11",
|
||||
"version": "1.111",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "2.9 kb",
|
||||
@ -562,7 +562,7 @@
|
||||
},
|
||||
{
|
||||
"name": "bin",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "daily",
|
||||
"maintainer": "paulkm",
|
||||
"size": "1.8 kb",
|
||||
@ -572,7 +572,7 @@
|
||||
},
|
||||
{
|
||||
"name": "fuckmember",
|
||||
"version": "1.033",
|
||||
"version": "1.034",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.0 kb",
|
||||
@ -582,7 +582,7 @@
|
||||
},
|
||||
{
|
||||
"name": "unbanby",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "2.8 kb",
|
||||
@ -592,7 +592,7 @@
|
||||
},
|
||||
{
|
||||
"name": "forcesubscribe",
|
||||
"version": "1.06",
|
||||
"version": "1.061",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.2 kb",
|
||||
@ -602,7 +602,7 @@
|
||||
},
|
||||
{
|
||||
"name": "forcegroup",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.6 kb",
|
||||
@ -612,7 +612,7 @@
|
||||
},
|
||||
{
|
||||
"name": "repeat",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.8 kb",
|
||||
@ -622,7 +622,7 @@
|
||||
},
|
||||
{
|
||||
"name": "kickanddm",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "lowking",
|
||||
"size": "5.6 kb",
|
||||
@ -632,7 +632,7 @@
|
||||
},
|
||||
{
|
||||
"name": "fuckmessage",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.3 kb",
|
||||
@ -642,7 +642,7 @@
|
||||
},
|
||||
{
|
||||
"name": "yyr",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada、kld",
|
||||
"size": "0.9 kb",
|
||||
@ -652,7 +652,7 @@
|
||||
},
|
||||
{
|
||||
"name": "chatbot",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.2 kb",
|
||||
@ -662,7 +662,7 @@
|
||||
},
|
||||
{
|
||||
"name": "square",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "Vesugierii",
|
||||
"size": "1.2 kb",
|
||||
@ -672,7 +672,7 @@
|
||||
},
|
||||
{
|
||||
"name": "groupindex",
|
||||
"version": "1.121",
|
||||
"version": "1.122",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.2 kb",
|
||||
@ -682,7 +682,7 @@
|
||||
},
|
||||
{
|
||||
"name": "yvlu",
|
||||
"version": "1.213",
|
||||
"version": "1.214",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "10.4 kb",
|
||||
@ -692,7 +692,7 @@
|
||||
},
|
||||
{
|
||||
"name": "antichannelmsg",
|
||||
"version": "1.001",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.8 kb",
|
||||
@ -702,7 +702,7 @@
|
||||
},
|
||||
{
|
||||
"name": "antichannelpin",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "2.8 kb",
|
||||
@ -712,7 +712,7 @@
|
||||
},
|
||||
{
|
||||
"name": "shift",
|
||||
"version": "1.03",
|
||||
"version": "1.031",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "5.3 kb",
|
||||
@ -722,7 +722,7 @@
|
||||
},
|
||||
{
|
||||
"name": "getstickerset",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.4 kb",
|
||||
@ -732,7 +732,7 @@
|
||||
},
|
||||
{
|
||||
"name": "autodel",
|
||||
"version": "1.001",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "5.7 kb",
|
||||
@ -742,7 +742,7 @@
|
||||
},
|
||||
{
|
||||
"name": "antisticker",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "0.7 kb",
|
||||
@ -752,7 +752,7 @@
|
||||
},
|
||||
{
|
||||
"name": "yinglish",
|
||||
"version": "1.00",
|
||||
"version": "1.001",
|
||||
"section": "chat",
|
||||
"maintainer": "YU",
|
||||
"size": "1.7 kb",
|
||||
@ -762,7 +762,7 @@
|
||||
},
|
||||
{
|
||||
"name": "findmessage",
|
||||
"version": "1.00",
|
||||
"version": "1.001",
|
||||
"section": "chat",
|
||||
"maintainer": "vesugier",
|
||||
"size": "1.44 kb",
|
||||
@ -772,7 +772,7 @@
|
||||
},
|
||||
{
|
||||
"name": "epic",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "5.80 kb",
|
||||
@ -782,7 +782,7 @@
|
||||
},
|
||||
{
|
||||
"name": "covid-en",
|
||||
"version": "1.001",
|
||||
"version": "1.01",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.70 kb",
|
||||
@ -792,7 +792,7 @@
|
||||
},
|
||||
{
|
||||
"name": "covid",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.90 kb",
|
||||
@ -802,7 +802,7 @@
|
||||
},
|
||||
{
|
||||
"name": "moyu",
|
||||
"version": "1.02",
|
||||
"version": "1.021",
|
||||
"section": "daily",
|
||||
"maintainer": "sam01101",
|
||||
"size": "3.00 kb",
|
||||
@ -812,7 +812,7 @@
|
||||
},
|
||||
{
|
||||
"name": "jd_cmd",
|
||||
"version": "1.01",
|
||||
"version": "1.011",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "1.00 kb",
|
||||
@ -822,7 +822,7 @@
|
||||
},
|
||||
{
|
||||
"name": "crazy4",
|
||||
"version": "1.0",
|
||||
"version": "1.01",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "17.10 kb",
|
||||
@ -832,13 +832,23 @@
|
||||
},
|
||||
{
|
||||
"name": "dme",
|
||||
"version": "1.201",
|
||||
"version": "1.21",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "0.4 kb",
|
||||
"supported": true,
|
||||
"des-short": "删除当前对话您发送的特定数量的消息。",
|
||||
"des": "删除当前对话您发送的特定数量的消息。"
|
||||
"des": "删除当前对话您发送的特定数量的消息。\n指令:-dme"
|
||||
},
|
||||
{
|
||||
"name": "dc",
|
||||
"version": "1.0",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.0 kb",
|
||||
"supported": true,
|
||||
"des-short": "查询特定用户的 DC。",
|
||||
"des": "查询特定用户的 DC。\n指令:-dc"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from telethon.tl.functions.channels import GetAdminedPublicChannelsRequest
|
||||
|
1
meizi.py
1
meizi.py
@ -1,5 +1,6 @@
|
||||
import random
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from os import remove
|
||||
|
1
mjx.py
1
mjx.py
@ -1,5 +1,6 @@
|
||||
import json
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
2
moyu.py
2
moyu.py
@ -4,7 +4,7 @@ import datetime
|
||||
from random import choice
|
||||
|
||||
import pytz
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
import json
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -6,6 +6,7 @@ from os import sep, remove, listdir
|
||||
from os.path import isfile, exists
|
||||
from time import strftime, localtime
|
||||
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, execute, pip_install
|
||||
|
||||
|
@ -8,7 +8,7 @@ import random
|
||||
import math
|
||||
from time import sleep
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.utils import alias_command
|
||||
from os import remove, path, mkdir, getcwd
|
||||
from os.path import exists
|
||||
|
@ -1,6 +1,7 @@
|
||||
import json
|
||||
import requests
|
||||
from time import sleep
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from os import remove, path
|
||||
from pagermaid.utils import alias_command, pip_install
|
||||
|
@ -1,6 +1,7 @@
|
||||
from pagermaid.listener import listener
|
||||
from telethon import functions, types
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid import version
|
||||
|
||||
|
||||
@listener(outgoing=True, command=alias_command("nthmsg"),
|
||||
|
1
paolu.py
1
paolu.py
@ -9,6 +9,7 @@
|
||||
|
||||
from asyncio import sleep
|
||||
from telethon.errors.common import MultiError
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -4,7 +4,7 @@ from io import BytesIO
|
||||
from telethon.tl.types import DocumentAttributeFilename, MessageMediaPhoto, MessageMediaWebPage
|
||||
from PIL import Image, ImageOps
|
||||
from math import floor
|
||||
from pagermaid import bot, redis, redis_status
|
||||
from pagermaid import bot, redis, redis_status, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import lang, alias_command
|
||||
|
||||
|
1
pl.py
1
pl.py
@ -5,6 +5,7 @@
|
||||
from asyncio import sleep
|
||||
from requests import get
|
||||
from sys import executable
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, pip_install
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pagermaid import bot, log, user_id
|
||||
from pagermaid import bot, log, user_id, version
|
||||
from pagermaid.listener import listener
|
||||
from telethon.errors import rpcerrorlist
|
||||
from asyncio import sleep
|
||||
|
1
rape.py
1
rape.py
@ -10,6 +10,7 @@
|
||||
from datetime import timedelta
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
from telethon.errors.rpcerrorlist import ChatAdminRequiredError
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
2
rate.py
2
rate.py
@ -4,7 +4,7 @@ import json, time
|
||||
from json.decoder import JSONDecodeError
|
||||
import urllib.request
|
||||
from pagermaid.listener import listener, config
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
# i18n
|
||||
|
@ -1,4 +1,4 @@
|
||||
from pagermaid import redis, redis_status, log
|
||||
from pagermaid import redis, redis_status, log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
1
resou.py
1
resou.py
@ -1,6 +1,7 @@
|
||||
import json
|
||||
from requests import get
|
||||
from json.decoder import JSONDecodeError
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
# extra requirements: dateparser
|
||||
import sys, time, traceback
|
||||
import asyncio
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, pip_install
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
from time import sleep
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
2
shift.py
2
shift.py
@ -2,7 +2,7 @@
|
||||
from asyncio import sleep
|
||||
from random import uniform
|
||||
from telethon.errors.rpcerrorlist import FloodWaitError
|
||||
from pagermaid import redis, log, redis_status
|
||||
from pagermaid import redis, log, redis_status, version
|
||||
from pagermaid.utils import lang, alias_command
|
||||
from pagermaid.listener import listener
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid import version
|
||||
|
||||
|
||||
@listener(is_plugin=True, outgoing=True, command=alias_command("square"),
|
||||
description="生成文本矩形",
|
||||
|
@ -3,7 +3,7 @@ from os import remove
|
||||
from io import BytesIO
|
||||
from telethon.tl.types import DocumentAttributeFilename, MessageMediaPhoto, MessageMediaWebPage
|
||||
from PIL import Image
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from random import random
|
||||
|
1
tel.py
1
tel.py
@ -3,6 +3,7 @@ import sys, codecs
|
||||
|
||||
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import obtain_message, alias_command
|
||||
|
||||
|
@ -9,6 +9,7 @@ from telethon.tl.functions.users import GetFullUserRequest
|
||||
from telethon.tl.types import MessageEntityMentionName
|
||||
from telethon.errors.rpcerrorlist import ChatSendStickersForbiddenError
|
||||
from struct import error as StructError
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import asyncio, zipfile, os
|
||||
from io import BytesIO
|
||||
from os.path import exists, isfile
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from pagermaid import version
|
||||
from telethon.tl.types import ChannelParticipantsKicked, ChannelParticipantsAdmins
|
||||
from telethon.errors.rpcerrorlist import UserAdminInvalidError, ChatAdminRequiredError, FloodWaitError
|
||||
from asyncio import sleep
|
||||
|
@ -4,7 +4,7 @@ import json
|
||||
from os import remove, mkdir
|
||||
from os.path import exists
|
||||
from re import compile as regex_compile
|
||||
from pagermaid import bot, log
|
||||
from pagermaid import bot, log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from telethon.tl.types import DocumentAttributeVideo
|
||||
|
2
vip.py
2
vip.py
@ -4,7 +4,7 @@ from requests import get
|
||||
from os import remove
|
||||
from telethon.tl.types import MessageMediaPhoto
|
||||
from asyncio import TimeoutError
|
||||
from pagermaid import bot, redis, redis_status
|
||||
from pagermaid import bot, redis, redis_status, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import obtain_message, alias_command
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
import json
|
||||
import datetime
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import obtain_message, alias_command
|
||||
|
||||
|
1
whois.py
1
whois.py
@ -1,6 +1,7 @@
|
||||
import json
|
||||
from json import JSONDecodeError
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import obtain_message, alias_command
|
||||
|
||||
|
1
xjj.py
1
xjj.py
@ -1,5 +1,6 @@
|
||||
import random
|
||||
from requests import get
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
from os import remove
|
||||
|
@ -1,7 +1,7 @@
|
||||
""" Pagermaid plugin base. """
|
||||
import json, requests, re
|
||||
from urllib.parse import urlparse
|
||||
from pagermaid import bot, log
|
||||
from pagermaid import bot, log, version
|
||||
from pagermaid.listener import listener, config
|
||||
from pagermaid.utils import clear_emojis, obtain_message, attach_log, alias_command
|
||||
from telethon.errors import ChatAdminRequiredError
|
||||
|
2
yb-dl.py
2
yb-dl.py
@ -5,7 +5,7 @@ from os.path import exists
|
||||
from youtube_dl import YoutubeDL
|
||||
from youtube_dl.utils import DownloadError
|
||||
from re import compile as regex_compile
|
||||
from pagermaid import bot, log
|
||||
from pagermaid import bot, log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import random
|
||||
from asyncio import sleep
|
||||
from sys import executable
|
||||
from pagermaid import log
|
||||
from pagermaid import log, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command, execute
|
||||
|
||||
|
2
yvlu.py
2
yvlu.py
@ -9,7 +9,7 @@ from telethon.tl.functions.contacts import UnblockRequest
|
||||
from telethon.tl.functions.users import GetFullUserRequest
|
||||
from telethon.tl.types import MessageMediaPhoto, MessageMediaWebPage, MessageMediaUnsupported
|
||||
from asyncio import TimeoutError
|
||||
from pagermaid import bot
|
||||
from pagermaid import bot, version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
1
yyr.py
1
yyr.py
@ -1,4 +1,5 @@
|
||||
import json, requests
|
||||
from pagermaid import version
|
||||
from pagermaid.listener import listener
|
||||
from pagermaid.utils import alias_command
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user