warn
warnings
A user to be warned with whatever reason I just specified
Error message: "That is not a registered reason!"
[p]warningset allowcustomreasons 1/true/yes[p]warn <user> <reason>I've asked about this on multiple beta versions and still didn't get a clear reply if this is supposed to work how I think it is. At least I can't figure out why else there would be a subcommand called "allowcustomreasons". If this is supposed to do something else, can you clarify that somehow in the command help? Because I interpret this that when allowcustomreasons is disabled, you can only use added reasons on the warn, and when it's enabled you can specify any reason.
You have a valid point, it could be clearer how to use custom reasons.
To specify a custom reason, use [p]warn <user> custom and the bot will ask you to enter the reason, along with some other stuff I believe.
To make it more user-friendly, perhaps when custom reasons are enabled, changing the message "That is not a registered reason!" to "That is not a registered reason! To specify a custom reason, put custom for the reason."?
Right, apparently I have not read the output of [p]help warn with both sides of my brain active, it clearly says there about using "custom". Big oof!
However, I do like the clarification idea on the error message! Always good to have error messages spell stuff out for dumbos like me 馃槄
Now that I know how it works, I tested it and the DM was sent fine, however no modlog event was created.
Is this caused by the rework #1867?
I have the warning case enabled on modlog, and since the case is still there it's still supposed to add a modlog event on warn, yes?
So either something is wrong with the case creation or then the case for warnings is not supposed to be there. Didn't want to create a separate issue for this, not sure if I should?
(B19 btw)
@Mystard I'd appreciate it if you opened a new issue for that one, thanks :)
Resolved by #2049.
Most helpful comment
You have a valid point, it could be clearer how to use custom reasons.
To specify a custom reason, use
[p]warn <user> customand the bot will ask you to enter the reason, along with some other stuff I believe.To make it more user-friendly, perhaps when custom reasons are enabled, changing the message "That is not a registered reason!" to "That is not a registered reason! To specify a custom reason, put
customfor the reason."?