THE-BWC / OpServ-Issues

Repository for all OpServ issues
MIT License
0 stars 0 forks source link

Removing OPSEC from members who is no longer in Discord Server fails #19

Open PatrickPedersen opened 5 months ago

PatrickPedersen commented 5 months ago

It fails if you attempt to remove OPSEC from a member through the OPSEC Report when that member is no longer in our Discord.

Goltred commented 5 months ago

I want to help with this one but i'm missing information unfortunately :( I'm not sure where this opsec reports are (I don't have access to them live, and in dev env i'm getting some query errors which i haven't looked into yet. Looking at the code i haven't been able to find exactly where things are supposed to be to try to follow the code :(

If possible, can you add some breadcrumbs here I can follow (unless you are tackling it already, in which case i'l prefer to not get my hands in the mix :) )

PatrickPedersen commented 5 months ago

Well. I was going to just make check in the in the code, that if the member isn't found on the Discord, to just remove the access. This does require them to be given again if the member returns. But if they left, they probably wouldn't need the access anyway.

I'll tackle this one. Once I remember where I put the code...