const Roll = require('roll');
const roller = new Roll();
const Discord = require('discord.js');

exports.run = function (bot, msg, args) {
    if (args.length < 1) {
      msg.channel.send('You must specify in dice notation ([number]d[number])');
    }

    let reason = '';
    let footer = '';

    footer += `:game_die: **${args[0]}**`;
    if (args.length > 1) {
        reason = args.splice(1).join(' ');
        footer += ` | ${reason}`;
    }

    let results = roller.roll(args[0]);
  if (!results) return msg.channel.send("You must specify in dice notation ([number]d[number])")


        `Total: ${results.result}`,
        `${[].concat.apply([], results.rolled).join(', ').substr(0, 1800)}`,


    msg.channel.send(`you rolled a ${results.result}`);
};

@@ -140,625 +140,99 @@
     
-if (args.length %3C 1) %7B%0A      msg.channel.send('You must specify in dice notation (%5Bnumber%5Dd%5Bnumber%5D)');%0A    %7D%0A%0A    let reason = '';%0A    let footer = '';%0A%0A    footer += %60:game_die: **$%7Bargs%5B0%5D%7D**%60;%0A    if (args.length %3E 1) %7B%0A        reason = args.splice(1).join(' ');%0A        footer += %60 %7C $%7Breason%7D%60;%0A    %7D%0A%0A    let results = roller.roll(args%5B0%5D);%0A  if (!results) return msg.channel.send(%22You must specify in dice notation (%5Bnumber%5Dd%5Bnumber%5D)%22)%0A%0A%0A        %60Total: $%7Bresults.result%7D%60,%0A        %60$%7B%5B%5D.concat.apply(%5B%5D, results.rolled).join(', ').substr(0, 1800)%7D%60,%0A%0A%0A    msg.channel.send(%60you rolled a $%7Bresults.result%7D%60);%0A%7D
+  var roll = Math.floor(Math.random() * 30) + 1;%0A    message.reply(%22 %F0%9F%8E%B2 You rolled a %22 + roll)
 ;%0A

Update roll.js