------------------------…

------------------------…



------------------------------------------------------------------------------------------------------------------------
352 kang stickers.py
> urllib.urlretrieve(png_sticker, kangsticker)

---

247 urlretrieve request.py
> with contextlib.closing(urlopen(url, data)) as fp:

---

222 urlopen request.py
> return opener.open(url, data, timeout)

---

509 open request.py
> req = Request(fullurl, data)

---

328 __init__ request.py
> self.full_url = url

---

354 full_url request.py
> self._parse()

---

383 _parse request.py
> raise ValueError("unknown url type: %r" % self.full_url)

ValueError:
unknown url type: '🙊'

------------------------------------------------------------------------------------------------------------------------
555 process_update dispatcher.py
> handler.handle_update(update, self, check, context)

---

122 handle_update handlers.py
> return self.callback(update, context)

---

354 kang stickers.py
> context.bot.send_message("Invalid link for image.")

---

130 decorator bot.py
> result = func(*args, **kwargs)

TypeError:
send_message() missing 1 required positional argument: 'text'

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 966327707
Chat: Sticker Maker -1001607665780
Callback data: None
Message: /kang 🙊

Full Traceback: Traceback (most recent call last):
File "E:\Mob\SaitamaRobot\modules\stickers.py", line 352, in kang
urllib.urlretrieve(png_sticker, kangsticker)
File "C:\Program Files\Python38\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Program Files\Python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Program Files\Python38\lib\urllib\request.py", line 509, in open
req = Request(fullurl, data)
File "C:\Program Files\Python38\lib\urllib\request.py", line 328, in __init__
self.full_url = url
File "C:\Program Files\Python38\lib\urllib\request.py", line 354, in full_url
self._parse()
File "C:\Program Files\Python38\lib\urllib\request.py", line 383, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '🙊'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\SaitamaRobot\env\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "E:\Mob\SaitamaRobot\modules\helper_funcs\handlers.py", line 122, in handle_update
return self.callback(update, context)
File "E:\Mob\SaitamaRobot\modules\stickers.py", line 354, in kang
context.bot.send_message("Invalid link for image.")
File "E:\SaitamaRobot\env\lib\site-packages\telegram\bot.py", line 130, in decorator
result = func(*args, **kwargs)
TypeError: send_message() missing 1 required positional argument: 'text'

Report Page