We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb51c7c commit d544e5eCopy full SHA for d544e5e
commands/moderator/linkuser.js
@@ -19,6 +19,8 @@ module.exports = {
19
"You don't have enough priviliges to run this command!"
20
);
21
}
22
+ if (!args[0]) return message.channel.send("No Discord identifier!");
23
+ if (!args[1]) return message.channel.send("No Factorio identifier!");
24
const discordID = message.mentions.users.first() ? (message.mentions.users.first()).id : args[0];
25
args.shift();
26
let db = await DatabaseConnection.findOneDB("otherData", "linkedPlayers", { discordID: discordID });
0 commit comments