BuildTheEarth/main-bot

Add a command to modify punishment length

cAttte opened this issue ยท 6 comments

probably something like =extend and =reduce, or maybe even inside =case edit; =case edit length <id> <new length> <reason>.

normally, punishment lengths are extended because either, (a) the user broke another rule while being muted/banned, or (b) the moderators decided on a fairer punishment.

for the first scenario, the extension should be added as a separate punishment, while for the second one, it should just be an actual extension. whether the distinction between these two should be significant hasn't been decided.

Why not use a unique id to edit the case, in addition you could review the case =case review ;
Just to give mods a overview;
Hopefully that helped

@jkPngu I agree; All cases could be put into an array, and you could use their index++ as their "ID". Just make sure not to remove any cases from the array. Any cases that are "removed" (unsure if BTE does this but still applies) can just be marked as such instead of revoked from the array;

@HPaulson , its also really useful and dynamic.

All cases already have a numerical id, so that's how they're edited. For example I do =case edit 6012 text.

Will the addition of review command come into place, if moderators would like to see the reason for punishment, who gave them the punishment ect. I believe that might be added already but if not

Why not use a unique id to edit the case, in addition you could review the case =case review ;
Just to give mods a overview;
Hopefully that helped

I agree; All cases could be put into an array, and you could use their index++ as their "ID". Just make sure not to remove any cases from the array. Any cases that are "removed" (unsure if BTE does this but still applies) can just be marked as such instead of revoked from the array;

please see the ActionLog entity (specifically its id and deletedAt columns) to see how these are stored.

Will the addition of review command come into place, if moderators would like to see the reason for punishment, who gave them the punishment ect. I believe that might be added already but if not

there is a case command, which lets moderators see the reason and other details for a specific case.

also, this discussion should probably go in a different issue/PR (though it shouldn't exist in the first place, since it's based on incorrect knowledge)