Skip to content

Commit

Permalink
Remove :r shortcut command
Browse files Browse the repository at this point in the history
Removing this excessive shortcut command as it clutters the drop down
slash commands. This shortcut technically already happens now when you
start typing /roll
  • Loading branch information
Humblemonk committed Oct 17, 2023
1 parent 906adf9 commit 575b1e4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dice_maiden.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
@bot.register_application_command(:roll, 'Ask Dice Maiden to roll some dice!') do |cmd|
cmd.string('message', 'roll syntax sent to Dice Maiden. Type help or visit github to view possible commands', required: true)
end

@bot.register_application_command(:r, 'Ask Dice Maiden to roll some dice!') do |cmd|
cmd.string('message', 'roll syntax sent to Dice Maiden. Type help or visit github to view possible commands', required: true)
end
end

inc_cmd = lambda do |event|
Expand Down Expand Up @@ -174,7 +170,6 @@
end

@bot.application_command(:roll, &inc_cmd)
@bot.application_command(:r, &inc_cmd)

if @launch_option == 'lite'
@bot.run
Expand Down

0 comments on commit 575b1e4

Please sign in to comment.