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

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



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

---

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

---

30 log_action log_channel.py
> result = func(update, context, *args, **kwargs)

---

18 command_func alternate.py
> return func(update, context, *args, **kwargs)

---

240 lock locks.py
> context.bot.set_chat_permissions(

---

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

---

3979 set_chat_permissions bot.py
> result = self._post('setChatPermissions', data, timeout=timeout, api_kwargs=api_kwargs)

---

295 _post bot.py
> return self.request.post(

---

361 post request.py
> result = self._request_wrapper(

---

279 _request_wrapper request.py
> raise BadRequest(message)

telegram.error.BadRequest

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 1405682829
Chat: 🌏[Weebs😇 Assemble] 🪐 -1001730717327
Callback data: None
Message: /lock all

Full Traceback: 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 110, in handle_update
return self.callback(update, context)
File "E:\Mob\SaitamaRobot\modules\log_channel.py", line 30, in log_action
result = func(update, context, *args, **kwargs)
File "E:\Mob\SaitamaRobot\modules\helper_funcs\alternate.py", line 18, in command_func
return func(update, context, *args, **kwargs)
File "E:\Mob\SaitamaRobot\modules\locks.py", line 240, in lock
context.bot.set_chat_permissions(
File "E:\SaitamaRobot\env\lib\site-packages\telegram\bot.py", line 130, in decorator
result = func(*args, **kwargs)
File "E:\SaitamaRobot\env\lib\site-packages\telegram\bot.py", line 3979, in set_chat_permissions
result = self._post('setChatPermissions', data, timeout=timeout, api_kwargs=api_kwargs)
File "E:\SaitamaRobot\env\lib\site-packages\telegram\bot.py", line 295, in _post
return self.request.post(
File "E:\SaitamaRobot\env\lib\site-packages\telegram\utils\request.py", line 361, in post
result = self._request_wrapper(
File "E:\SaitamaRobot\env\lib\site-packages\telegram\utils\request.py", line 279, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Chat_not_modified

Report Page