Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modération - Handle quand une personne mute par spam quitte le serveur #78

Open
DeveloperAnonymous opened this issue Oct 7, 2022 · 0 comments

Comments

@DeveloperAnonymous
Copy link
Member

Traceback (most recent call last):
File "C:\Users\Matth\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\tasks_init_.py", line 239, in _loop
await self.coro(*args, **kwargs)
File "D:.Projects\ADEPT\adeptbot\bot\tasks.py", line 54, in process_mutes
await delete_task(task.member, task.type)
File "D:.Projects\ADEPT\adeptbot\bot\tasks.py", line 37, in delete_task
await util.unmute(member, reason)
File "D:.Projects\ADEPT\adeptbot\bot\util.py", line 63, in unmute
await member.remove_roles(mute_role, reason=reason)
File "C:\Users\Matth\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\member.py", line 1059, in remove_roles
await req(guild_id, user_id, role.id, reason=reason)
File "C:\Users\Matth\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 740, in request
raise NotFound(response, data)
discord.errors.NotFound: 404 Not Found (error code: 10007): Unknown Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant