exports.conf = {
  enabled: true,
  spamProtection: false,
  priority: 8,
};

exports.run = (client, msg, cmd) => {
  if (!cmd.conf.runIn) {
    cmd.conf.runIn = ["text"];
    return false;
  }
  if (cmd.conf.runIn.includes(msg.channel.type)) return false;
  return `This command is only avaliable in ${cmd.conf.runIn.join(" ")} channels`;
};

@@ -135,14 +135,8 @@
 nIn)
- %7B%0A   
  cmd
@@ -163,30 +163,8 @@
 %22%5D;%0A
-    return false;%0A  %7D%0A
   if

Fix unexpected behavior with runIn inhibitor (#193)