summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-09-04 01:03:43 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-09-04 01:03:43 -0400
commit66e99890350c75268d3bc6db43de1cff30ff7fa0 (patch)
tree33705919987b507d72b541217e9f7d4531b97488
parentf69b0e61558680d9fdcaafd5c184b2c45fc06fce (diff)
downloadabaddon-portaudio-66e99890350c75268d3bc6db43de1cff30ff7fa0.tar.gz
abaddon-portaudio-66e99890350c75268d3bc6db43de1cff30ff7fa0.zip
add a very important feature
-rw-r--r--abaddon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/abaddon.cpp b/abaddon.cpp
index 56a211f..6c92439 100644
--- a/abaddon.cpp
+++ b/abaddon.cpp
@@ -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);
}