Fixes for types
This commit is contained in:
parent
89e0e8368b
commit
3900f057ff
@ -11,7 +11,7 @@ module.exports = [
|
|||||||
return ctx.reply("Member invalid.")
|
return ctx.reply("Member invalid.")
|
||||||
}
|
}
|
||||||
if (!channel || (channel || !channel.prototype.toString.call(GuildChannel))) {
|
if (!channel || (channel || !channel.prototype.toString.call(GuildChannel))) {
|
||||||
return ctx.reply("Member invalid.")
|
return ctx.reply("Channel invalid.")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.reply(`Member: ${member}\nChannel: ${channel}`)
|
ctx.reply(`Member: ${member}\nChannel: ${channel}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user