Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kick/ban reason gets truncated if '#' character exists in the reason string #784

Closed
NoiTheCat opened this issue Aug 6, 2017 · 1 comment · Fixed by #787
Closed

Kick/ban reason gets truncated if '#' character exists in the reason string #784

NoiTheCat opened this issue Aug 6, 2017 · 1 comment · Fixed by #787
Labels

Comments

@NoiTheCat
Copy link

NoiTheCat commented Aug 6, 2017

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

This character doesn't get truncated when kicking or banning a user manually.

@foxbot
Copy link
Member

foxbot commented Aug 6, 2017 via email

@foxbot foxbot added the bug label Aug 7, 2017
foxbot added a commit that referenced this issue Aug 7, 2017
Auralytical pushed a commit that referenced this issue Aug 17, 2017
FiniteReality pushed a commit to FiniteReality/Discord.Net that referenced this issue May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants