From 757e43683e550d55384c426ceb0d1fe38e43aa63 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 31 Dec 2025 19:25:20 +0300 Subject: =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=20/lis?= =?UTF-8?q?t=20->=20/users?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/chat/chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/chat/chat.go b/internal/chat/chat.go index 1639d6b..6c21bc3 100644 --- a/internal/chat/chat.go +++ b/internal/chat/chat.go @@ -151,7 +151,7 @@ func (c *Chat) Input(ctx context.Context, user *User, input string) { c.SelfMessage(user, strings.TrimPrefix(input, "/me ")) case cmd == "/help": c.SystemMessage(user, helpMessage) - case cmd == "/list": + case cmd == "/chans": list := make([]string, 0, len(c.channels)) for ch := range c.channels { list = append(list, ch.Name) -- cgit v1.2.3