aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-02 09:44:32 -0700
committerZeyla Hellyer <[email protected]>2018-07-02 09:44:32 -0700
commitbd4aa0aabda4a2986e6145e3a793e8b2a391f8dd (patch)
tree1a4b2901a5c37ae3dac8f5e586d3fec0260ce622 /examples/05_command_framework
parentFix utils::is_nsfw string slicing (diff)
downloadserenity-bd4aa0aabda4a2986e6145e3a793e8b2a391f8dd.tar.xz
serenity-bd4aa0aabda4a2986e6145e3a793e8b2a391f8dd.zip
Fix 'nsfw-' case in utils::is_nsfw
In the utils::is_nsfw function, an input of 'nsfw-' shouldn't return true. Discord's (previous) NSFW detection classified 'nsfw' and anything starting with 'nsfw-' - but not including - as NSFW.
Diffstat (limited to 'examples/05_command_framework')
0 files changed, 0 insertions, 0 deletions