sleepy-discord
sleepy-discord copied to clipboard
sendMessage with line break or tab causes SIGABRT
As the title says, calling sendMessage with a line break or a tab (\n or \t), throws a SIGABRT inside BaseDiscordClient::request. onError reports this as a BAD_REQUEST 400, but as far as I know Discord should be able to handle line breaks in their API.
The develop branch solves this by handling the c++ to json string conversation. For now, before I pull develop, use \\n.