Just a little edit, but last commit for tonight because I am STRESSED
Showing
1 changed file
with
1 additions
and
4 deletions
... | @@ -7,9 +7,6 @@ const prefix = ';'; | ... | @@ -7,9 +7,6 @@ const prefix = ';'; |
7 | 7 | ||
8 | const fs = require('fs'); | 8 | const fs = require('fs'); |
9 | 9 | ||
10 | -//import 'regenerator-runtime/runtime'; -> do i need this? | ||
11 | -const axios = require("axios"); | ||
12 | - | ||
13 | client.commands = new Discord.Collection(); | 10 | client.commands = new Discord.Collection(); |
14 | 11 | ||
15 | const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); | 12 | const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); |
... | @@ -35,7 +32,7 @@ client.on('message', message => { | ... | @@ -35,7 +32,7 @@ client.on('message', message => { |
35 | } else if(command == 'help'){ | 32 | } else if(command == 'help'){ |
36 | client.commands.get('help').execute(message, args); | 33 | client.commands.get('help').execute(message, args); |
37 | } else if(command == 'calm'){ | 34 | } else if(command == 'calm'){ |
38 | - client.commands.get('calm').execute(message, args); | 35 | + client.commands.get('calm').execute(message, args, Discord); |
39 | } else if(command == 'breathe'){ | 36 | } else if(command == 'breathe'){ |
40 | client.commands.get('breathe').execute(message, args); | 37 | client.commands.get('breathe').execute(message, args); |
41 | } else if(command == 'cute'){ | 38 | } else if(command == 'cute'){ | ... | ... |
-
Please register or login to post a comment