Closed Skyridr closed 3 years ago
Hmm, I think it's because WarnSystem is setup to create a modlog case when a manual kick or ban is done. Not sure why this is happening, will look into it.
if level > 1 and guild.me.top_role.position <= member.top_role.position
By the time WarnSystem sees the ban, the user has left therefore its not a discord.Member is a discord.User. I'll push a PR in a moment.
I'm not sure if this is related because I ran a massban command on a second RED bot, but for some reason this error popped up in my logs:
Case does seem to be created when I run massban (core command) on the main bot in a specified channel, but not the same happens if I use my alt bot also with the exact same command. Is it because the bot (alt) is not a user?
I take it it's not specific to massban alone, but thus far the only thing that popped up in my logs.