'Take this L' Command #75

Closed
opened 2025-10-22 16:43:48 -04:00 by MrFleff · 3 comments
MrFleff commented 2025-10-22 16:43:48 -04:00 (Migrated from github.com)

Purpose

To quick give somebody the L command for punishment

Implementation

The command should by default give somebody the L role for 24hours and automatically remove it should they still have it 24 hours later. Should the role have already been removed then nothing should occur.
Whether it should notify them the L has been removed is up to you (the developer).

Preferably the command should allow the user to optionally change the length of L punishment using hours as the units
eg: /takeL Fleff 48 would punish Fleff for 48 hours with the L role.
eg: /takeL Fleff would punish Fleff for 24 hours with the L role.

I'm of the opinion that the person should be pinged whenever the command is ran but indifferent whether the user should be notified when it is auto removed.

Implementation (Extra)

It would be great if a user was in the working corner VC it auto-disconnected them so the mute and stream ban would apply when the command is given.

Why?

This is quicker to run than using the /editrole command and would also introduce a system for automatically removing the role.

### Purpose To quick give somebody the L command for punishment ### Implementation The command should by default give somebody the L role for 24hours and automatically remove it should they still have it 24 hours later. Should the role have already been removed then nothing should occur. Whether it should notify them the L has been removed is up to you (the developer). Preferably the command should allow the user to optionally change the length of L punishment using hours as the units eg: `/takeL Fleff 48` would punish Fleff for 48 hours with the L role. eg: `/takeL Fleff` would punish Fleff for 24 hours with the L role. I'm of the opinion that the person should be pinged whenever the command is ran but indifferent whether the user should be notified when it is auto removed. ### Implementation (Extra) It would be great if a user was in the working corner VC it auto-disconnected them so the mute and stream ban would apply when the command is given. ### Why? This is quicker to run than using the `/editrole` command and would also introduce a system for automatically removing the role.
sirdog3355 commented 2025-10-22 18:45:14 -04:00 (Migrated from github.com)

The only barrier here is that, in order for automatic revocation of the role to work, I either need to start storing persistent data in a DB, or, the bot simply needs to not reboot for that period of time, otherwise it won't remember to remove the role.

The daily bible quote does not run into this issue because the time the quote is sent is predetermined on startup; it isn't looping a 24-hour period.

I am uncertain if I wish to start the process of storing persistent data for this command, which is mostly a QoL thing. Not that I don't love you Fleff 🥹

I'l think on it some more, because getting into persistent data storage would open other potential uses for EnduraBot (logging message deletion and edits, my beloved), but I've gotta weigh whether or not a feature I could make will be used.

Aside from automatic removal, everything else is entirely doable. Though the big selling point for this command, I assume, is EnduraBot doing the heavy lifting to remove it later.

The only barrier here is that, in order for automatic revocation of the role to work, I either need to start storing persistent data in a DB, or, the bot simply needs to not reboot for that period of time, otherwise it won't remember to remove the role. The daily bible quote does not run into this issue because the time the quote is sent is predetermined on startup; it isn't looping a 24-hour period. I am uncertain if I wish to start the process of storing persistent data for this command, which is mostly a QoL thing. Not that I don't love you Fleff 🥹 I'l think on it some more, because getting into persistent data storage _would_ open other potential uses for EnduraBot (logging message deletion and edits, my beloved), but I've gotta weigh whether or not a feature I _could_ make will _be used_. Aside from automatic removal, everything else is entirely doable. Though the big selling point for this command, I assume, is EnduraBot doing the heavy lifting to remove it later.
sirdog3355 commented 2025-11-06 17:26:04 -05:00 (Migrated from github.com)

Made significant progress on this. Just gotta iron out some edge-case handling and getting the automatic role revocation to work.

Made significant progress on this. Just gotta iron out some edge-case handling and getting the automatic role revocation to work.
sirdog3355 commented 2025-11-06 23:30:19 -05:00 (Migrated from github.com)

Feature in dev by #119 and will be pushed to the server in v2.4. @MrFleff

Feature in `dev` by #119 and will be pushed to the server in `v2.4`. @MrFleff
Sign in to join this conversation.
No description provided.