ChristopherBThai / Discord-OwO-Bot

A Discord bot that will keep track of your OwO
https://discordapp.com/oauth2/authorize?client_id=408785106942164992&permissions=1074120776&scope=bot
Other
560 stars 404 forks source link

'math' command outputs raw JSON if the result contains a non-zero imaginary component. #325

Open LilyAsFlora opened 1 year ago

LilyAsFlora commented 1 year ago

Examples:

image image

Users unfamiliar with JSON syntax would prefer to see the standard form of a complex number; namely, a + bi. For the above screenshots, expected results are i and 2 + 3i respectively.