This commit is contained in:
entar 2025-05-21 07:39:21 +07:00
parent 42782b32ff
commit fba3f26f57

View File

@ -7,10 +7,10 @@ module.exports = [
description: "Kill every1",
arguments: [GuildMember.name, GuildChannel.name],
run: (ctx, member, channel) => {
if (!member || (member || !member.user) ) {
if (!member || !(member instanceof GuildMember) ) {
return ctx.reply("Member invalid.")
}
if (!channel || (channel || !channel.id)) {
if (!channel || !(channel instanceof GuildChannel) ) {
return ctx.reply("Channel invalid.")
}