commands: fix image pack upload room id check

This commit is contained in:
Tulir Asokan
2026-03-29 21:57:02 +03:00
parent ec960a7372
commit b2f99ec5c0

View File

@@ -75,7 +75,7 @@ func (t *TelegramClient) fnListEmojiPacks(ce *commands.Event) {
}
func (t *TelegramClient) fnUploadEmojiPack(ce *commands.Event) {
if len(ce.Args) < 3 || !strings.HasPrefix(ce.Args[0], "!") {
if len(ce.Args) < 3 || !strings.HasPrefix(ce.Args[1], "!") {
ce.Reply("Usage: `$cmdprefix emoji-pack upload <telegram shortcode> <room ID> <state key>`")
return
}