Make dice command case-insensitive

This commit is contained in:
Ceda EI 2023-10-14 23:00:15 +05:30
parent 69448a1052
commit d844ac8455
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module.exports = (bot, [ questions, kys, insults, commands_list, words, roleplay
bot.command("donate", (ctx) => ctx.reply("Thanks for considering to donate."
+ " To support the development and hosting of Quadnite Bot, you can "
+ "donate here: https://liberapay.com/ceda_ei/"));
bot.hears(/(\d*)d(\d+)(\s*([-+])\s*(\d+))?/, dice());
bot.hears(/(\d*)d(\d+)(\s*([-+])\s*(\d+))?/i, dice());
function getGetGif(command) {