if(!ch){returnmessage.channel.send("I can't find that channel! Make sure that you've mentioned one, or that the ID you provided is correct, and that I can see it.");}
if(!ch){returnmessage.channel.send("I can't find that channel! Make sure that you've mentioned one, or that the ID you provided is correct, and that I can see it.");}
if(!ch.permissionsFor(client.user.id).has("SEND_MESSAGES")){returnmessage.reply("I don't have permissions to send messages in that channel. Please give me access and try again.");}
if(!ch.permissionsFor(client.user.id).has("SEND_MESSAGES")){returnmessage.reply("I don't have permissions to send messages in that channel. Please give me access and try again.");}
returnmessage.channel.send("Valid log types:\n\n-`msgdelete` - Shows the content of a message that was deleted, in any channel.\n-`msgedit` - Shows both the old and new versions of a message when it is edited.");
returnmessage.channel.send("Valid log types:\n\n-`msgdelete` - Shows the content of a message that was deleted, in any channel.\n-`msgedit` - Shows both the old and new versions of a message when it is edited.\n-`vc` - Logs when members join and leave VCs.");