Skip to content

Commit

Permalink
add: simcey special command
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaygulerr committed Apr 11, 2022
1 parent 4844f56 commit 0967f9f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion commands/kayit.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,10 @@ module.exports = {

var roles;

if (juniorArg.includes(args[args.length - 1]) || args[args.length - 1] < 13) {
if (
juniorArg.includes(args[args.length - 1]) ||
args[args.length - 1] < 13
) {
await registeredMember.roles.add(jrRegisteredRole).catch((x) => {
if (x.message.includes("Missing")) {
return message.reply(
Expand All @@ -361,6 +364,11 @@ module.exports = {
);
}
});

if (message.guild.id === "740320343322787880") {
memberName = args[1];
}

roles = `<@&${registeredRole.id}>`;

if (roles === "") return;
Expand Down

0 comments on commit 0967f9f

Please sign in to comment.