Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Fix slash
  • Loading branch information
Tomato6966 committed Nov 12, 2021
1 parent 6df9d2d commit 1469a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ require('events').defaultMaxListeners = 25;
//those are must haves, they load the dbs, events and commands and important other stuff
function requirehandlers(){
client.basicshandlers = Array(
"extraevents", "loaddb", "clientvariables", "command", "events", "erelahandler", /*"slashCommands"*/
"extraevents", "loaddb", "clientvariables", "command", "events", "erelahandler", "slashCommands"
);
client.basicshandlers.forEach(handler => {
try{ require(`./handlers/${handler}`)(client); }catch (e){ console.log(e.stack ? String(e.stack).grey : String(e).grey) }
Expand All @@ -110,4 +110,4 @@ setTimeout(()=>{
* @INFO
* Please mention him / Milrato Development, when using this Code!
* @INFO
*********************************************************/
*********************************************************/

0 comments on commit 1469a6b

Please sign in to comment.