You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement some mod commands that do kicking and banning and thought to add the user's full display name (Username#0000) to the audit log. I found that any reason string put into the audit log is truncated right where the '#' character would be.
To verify, I used my testing bot to kick someone with the reason "asdf!@#$". The result:
This character doesn't get truncated when kicking or banning a user manually.
The text was updated successfully, but these errors were encountered:
Whoops, seems like I forgot to URL-encode the reasons before including them
as a route parameter, minor oversight.
On Aug 6, 2017 13:51, "Noikoio" <notifications@github.com> wrote:
Using v1.0.1.
I'm trying to implement some mod commands that do kicking and banning and
thought to add the user's full display name (Username#0000) to the audit
log. I found that any reason string put into the audit log is truncated
right where the '#' character would be.
To verify, I used my testing bot to kick someone with the reason
"asdf!@#$". The result:
[image: image]
<https://user-images.githubusercontent.com/29664685/29005663-e6176dec-7a94-11e7-837f-d7955d16dd86.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#784>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AMff8npbH7M-pX0eItadOYLvyRHZLkwEks5sVf0zgaJpZM4Ouy5v>
.
Using v1.0.1.
I'm trying to implement some mod commands that do kicking and banning and thought to add the user's full display name (Username#0000) to the audit log. I found that any reason string put into the audit log is truncated right where the '#' character would be.
To verify, I used my testing bot to kick someone with the reason "asdf!@#$". The result:
This character doesn't get truncated when kicking or banning a user manually.
The text was updated successfully, but these errors were encountered: