Browse Source

fixed /help command to gateway

master
annelin 2 weeks ago
parent
commit
6d282eb2f6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      inc/telegramclient.rb

+ 1
- 1
inc/telegramclient.rb View File

@@ -258,7 +258,7 @@ class TelegramClient
when '/setbio' then @telegram.set_bio(args[0] || '') # set About
when '/setpassword' then @telegram.set_password((args[1] ? args[0] : ''), args[1]) # set password
when '/config' then @xmpp.send_message(@jid, nil, args[1] ? "%s set to %s" % [args[0], @session.store(args[0].to_sym, args[1])] : @session.map{|attr| "%s is set to %s" % attr}.join("\n"))
when '/help' then @xmpp.send_message(@jid, nil, HELP_GATE_COMMANDS)
when '/help' then @xmpp.send_message(@jid, nil, HELP_GATE_CMD)
end
return true # stop executing
else # chat commands

Loading…
Cancel
Save