forked from OpenGamers/abaddon
add a very important feature
This commit is contained in:
@@ -207,6 +207,8 @@ void Abaddon::ActionChatLoadHistory(Snowflake id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Abaddon::ActionChatInputSubmit(std::string msg, Snowflake channel) {
|
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);
|
m_discord.SendChatMessage(msg, channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user