Skip to content

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

Description

@DeveloperAnonymous

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions