Add support for opening usercards by ID (#4934)

Co-authored-by: nerix <nerixdev@outlook.de>
This commit is contained in:
Mm2PL
2023-11-06 20:42:24 +01:00
committed by GitHub
parent 5209e47df1
commit f943f70634
3 changed files with 38 additions and 5 deletions
@@ -856,7 +856,8 @@ void CommandController::initialize(Settings &, Paths &paths)
if (words.size() < 2)
{
channel->addMessage(
makeSystemMessage("Usage: /usercard <user> [channel]"));
makeSystemMessage("Usage: /usercard <username> [channel] or "
"/usercard id:<id> [channel]"));
return "";
}