From c6b5556df75e06275a8f8723767a53ad60cd8313 Mon Sep 17 00:00:00 2001 From: Sleepingpirates Date: Thu, 23 Jul 2020 01:02:39 +0000 Subject: [PATCH] added multiple roles --- app/app/templates/bot.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app/templates/bot.html b/app/app/templates/bot.html index 7e0f399..b9f667d 100644 --- a/app/app/templates/bot.html +++ b/app/app/templates/bot.html @@ -166,9 +166,9 @@ if (typeof messages != 'undefined' && messages != '[]') { $("#myModal").modal(); }; - + // Adding Validation - number_validaitons = ['role_id', 'channel_id', 'owner_id'] + number_validaitons = ['channel_id', 'owner_id'] number_validaitons.forEach(element => { $('#' + element).keyup(function () { this.value = this.value.replace(/[^0-9\.]/g,'');