diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mattermost/command.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/mattermost/command.rb b/lib/mattermost/command.rb index 7d4710bb94d..9c37d0b0d79 100644 --- a/lib/mattermost/command.rb +++ b/lib/mattermost/command.rb @@ -1,18 +1,6 @@ module Mattermost class Command < Session def self.create(team_id, trigger: 'gitlab', url:, icon_url:) - command = { - auto_complete: true, - auto_complete_desc: 'List all available commands', - auto_complete_hint: '[help]', - description: 'Perform common operations on GitLab', - display_name: 'GitLab Slash Commands', - method: 'P', - user_name: 'GitLab', - trigger: trigger, - url: url, - icon_url: icon_url - } post_command(command)['token'] end |