mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
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) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user