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

Doesn't work in Discord #21

Closed
stormstricker opened this issue Sep 14, 2019 · 2 comments
Closed

Doesn't work in Discord #21

stormstricker opened this issue Sep 14, 2019 · 2 comments

Comments

@stormstricker
Copy link

When I make the table and print it to console, it works just fine. However when I send the same string to discord as a message, it comes out on the other end with messed spaces between columns.

@JakeWharton
Copy link
Owner

Sounds like the problem is with Discord and not this library then. They could be collapsing adjacent whitespace or using a non-monospaced font, or both. I'm not sure what action I would take to correct this behavior, especially given that it renders correctly in the console where spaces are always preserved and monospace fonts are used.

@stormstricker
Copy link
Author

I solved it by formatting the result string as code (adding three ticks before and after).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants