Skip to content

Commit

Permalink
fix(pencil): colon or question mark for left or right
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed May 7, 2018
1 parent fdfe13c commit c804ca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/Utilities/RollInline.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const Command = require('../../models/InlineCommand.js');

/**
* Make a simple roll
* Post a quesiton of left or right
*/
class RollInline extends Command {
/**
Expand All @@ -12,7 +12,7 @@ class RollInline extends Command {
*/
constructor(bot) {
super(bot, 'roll', 'roll?', 'Roll between 2 rivens');
this.regex = new RegExp('left or right:', 'ig');
this.regex = new RegExp('left or right[:\\?]', 'ig');
this.usages = [
{
description: 'roll between rivens',
Expand Down

0 comments on commit c804ca2

Please sign in to comment.