add a very important feature

This commit is contained in:
ouwou 2020-09-04 01:03:43 -04:00
parent f69b0e6155
commit 66e9989035

View File

@ -207,6 +207,8 @@ void Abaddon::ActionChatLoadHistory(Snowflake id) {
}
void Abaddon::ActionChatInputSubmit(std::string msg, Snowflake channel) {
if (msg.substr(0, 7) == "/shrug " || msg == "/shrug")
msg = msg.substr(6) + "\xC2\xAF\x5C\x5F\x28\xE3\x83\x84\x29\x5F\x2F\xC2\xAF"; // this is important
m_discord.SendChatMessage(msg, channel);
}