undo oop
This commit is contained in:
parent
1cc7e9b57d
commit
583f70e7b7
4
main.js
4
main.js
@ -191,10 +191,6 @@ client.on('messageCreate', message => {
|
|||||||
const commandData = fn.dot.getCommandData(message);
|
const commandData = fn.dot.getCommandData(message);
|
||||||
console.log(commandData);
|
console.log(commandData);
|
||||||
|
|
||||||
if (message.author.id == '179971329167065088') {
|
|
||||||
message.channel.send(fn.spongebob(commandData));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (commandData.isValid && commandData.isCommand) {
|
if (commandData.isValid && commandData.isCommand) {
|
||||||
try {
|
try {
|
||||||
client.dotCommands.get(commandData.command).execute(message, commandData);
|
client.dotCommands.get(commandData.command).execute(message, commandData);
|
||||||
|
Loading…
Reference in New Issue
Block a user