mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:45:08 +00:00
IRCClient: Add the "/me" command to send CTCP ACTION emotes :^)
You can now express your feelings and actions with our IRC client by using the /me command.
This commit is contained in:
parent
3a4a9d4c6b
commit
c460f4a3cb
3 changed files with 62 additions and 9 deletions
|
@ -58,6 +58,12 @@ void IRCQuery::add_message(char prefix, const String& name, const String& text,
|
|||
window().did_add_message(name, text);
|
||||
}
|
||||
|
||||
void IRCQuery::add_message(const String& text, Color color)
|
||||
{
|
||||
log().add_message(text, color);
|
||||
window().did_add_message();
|
||||
}
|
||||
|
||||
void IRCQuery::say(const String& text)
|
||||
{
|
||||
m_client.send_privmsg(m_name, text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue