Answer the question
In order to leave comments, you need to log in
Error due to message.delete()?
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\discord\client. py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\Users\Admin\Desktop\programming\shadowbot\main.py", line 46, in on_message
await message.delete()
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\discord\message.py", line 1023, in delete
await self._state. http.delete_message(self.channel.id, self.id)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\discord\http.py", line 248, in request
raise Forbidden(r , data) discord.errors.Forbidden: 403 Forbidden (
error
code: 60003): Two factor is required for this operation
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question