mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 14:10:10 +00:00
add a very important feature
This commit is contained in:
parent
f69b0e6155
commit
66e9989035
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user