aboutsummaryrefslogtreecommitdiff
path: root/commands/Owners Only/testingcredits.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Owners Only/testingcredits.js')
-rw-r--r--commands/Owners Only/testingcredits.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/commands/Owners Only/testingcredits.js b/commands/Owners Only/testingcredits.js
index 85cc859..87c1924 100644
--- a/commands/Owners Only/testingcredits.js
+++ b/commands/Owners Only/testingcredits.js
@@ -7,7 +7,7 @@
*
* *************************************/
-exports.run = async (bot, msg) => {
+exports.run = (bot, msg) => {
let user;
if (!msg.mentions.members.first()) {
user = msg.author;
@@ -21,17 +21,19 @@ exports.run = async (bot, msg) => {
};
exports.checkPermission = (bot, member) => {
- if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(member.id)) return false;
+ if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(member.id)) {
+ return false;
+ }
return true;
-}
+};
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: true
};
exports.help = {
name: 'testingcredits',
description: 'Modifies the credits of a user',
- usage: '@user <credits>',
+ usage: '@user <credits>'
};