Types
This commit is contained in:
parent
42782b32ff
commit
fba3f26f57
@ -7,10 +7,10 @@ module.exports = [
|
|||||||
description: "Kill every1",
|
description: "Kill every1",
|
||||||
arguments: [GuildMember.name, GuildChannel.name],
|
arguments: [GuildMember.name, GuildChannel.name],
|
||||||
run: (ctx, member, channel) => {
|
run: (ctx, member, channel) => {
|
||||||
if (!member || (member || !member.user) ) {
|
if (!member || !(member instanceof GuildMember) ) {
|
||||||
return ctx.reply("Member invalid.")
|
return ctx.reply("Member invalid.")
|
||||||
}
|
}
|
||||||
if (!channel || (channel || !channel.id)) {
|
if (!channel || !(channel instanceof GuildChannel) ) {
|
||||||
return ctx.reply("Channel invalid.")
|
return ctx.reply("Channel invalid.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user