DiscordSRV

DiscordSRV

86.8k Downloads

Canned response triggers should not be caps sensitive

mistermantas opened this issue · 1 comments

commented

Example

So this is what my current configuration file looks like:

DiscordCannedResponses: {"!ip": "mc.example.com"}

And let’s say Jon wants the server IP. He types !Ip. But nothing happens. Everything looks fine and diddly so Jon pings me and I have to explain to him that canned responses are caps sensitive. Isn’t that mildly annoying?

Conclusion

This issue can be temporarily fixed by adding multiple triggers with different capitalization that do the same thing, but this is a pretty awful solution:

DiscordCannedResponses: {"!ip": "mc.example.com", "!Ip": "mc.example.com", "!IP": "mc.example.com", "!iP": "mc.example.com"}

I’m pretty sure most people expect this kind of behavior from bots anyways. And if that’s not the case you could just make this an option in the configuration file.

commented