Skip to content

Commit

Permalink
no mute me
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev authored Sep 9, 2023
1 parent c165059 commit 98fd747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/discord/commands/mute.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ exports.run = async (client, message, args) => {
let target = message.guild.members.cache.get(
args[0].match(/[0-9]{17,19}/).length == 0 ? args[0] : args[0].match(/[0-9]{17,19}/)[0]
);
if(target.id === "853158265466257448") return message.reply("Don't you dare mute master Willy!");
let reason = args.slice(2).join(" ") || `unspecified`;
let time = ms(args[1]) || 300000;

Expand Down

0 comments on commit 98fd747

Please sign in to comment.