formatting

This commit is contained in:
SileNce5k 2021-02-16 02:06:17 +01:00
parent 268ef88332
commit 586cd2f5f4
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -39,10 +39,10 @@ client.on('message', async message => {
if (message.author.bot) return; if (message.author.bot) return;
if (!message.content.startsWith(prefix)) return; if (!message.content.startsWith(prefix)) return;
try { try {
switch(commandName){ switch (commandName) {
case "ban": case "ban":
case "userinfo": case "userinfo":
case "botinfo": case "botinfo":
@ -57,7 +57,7 @@ client.on('message', async message => {
} }
} catch (error) { } catch (error) {
console.error(error); console.error(error);
message.channel.send('There was an error trying to execute that command!'); message.channel.send('There was an error trying to execute that command!');
} }
}); });