DiscordPP/discordpp

Mangles messages when mentions to itself are not the first in the message

UndarkAido opened this issue · 1 comments

This is because it works by simple removing the first ready_["d"]["user"]["id"].get<std::string>().length() + 4 characters from the messages, instead of removing the @mentions inside. This can be resolved by me not being lazy.

It doesn't echo anymore.