muhammedfurkan / TelethonUserBot

Function or method is being redefined PYL-E0102
Bug risk
Major
2 years ago3 years old
function already defined line 88
101
102
103@bot.on(admin_cmd(pattern="servicemessage ?(.*)"))
104async def serv_msg(event):105    text = event.pattern_match.group(1)
106    if text == "off":
107        chat = await event.get_chat()
function already defined line 25
54
55
56@bot.on(admin_cmd(pattern="geta ?(.*)", allow_sudo=True))
57async def get_media(event):58    if event.fwd_from:
59        return
60    count = 0