title: discord.js say command actually says "say"
body: <p>I've never had a problem with the say command until I start using modules and cleaned up my code but since I have few my commands have bugged. I'm trying to figure out why it is saying the command.</p>
  
  <pre><code>const commandFiles = fs
    .readdirSync("./commands/")
    .filter(file =&gt; file.endsWith(".js"));
  for (const file of commandFiles) {
    const command = require(`./commands/${file}`);
  
    bot.commands.set(command.name, command);
  }
  </code></pre>
  
  <pre><code>bot.on("message", async message =&gt; {
    if (!message.content.startsWith(PREFIX)) return;
    let args = message.content.substring(PREFIX.length).split(" ");
  
    switch (args[0]) {
  
      case "say":
        bot.commands.get("say").execute(message, args);
        break;
  </code></pre>
  
  <pre><code>const Discord = require("discord.js");
  
  module.exports = {
    name: "say",
    description: "Show's avatar",
   async execute(message, args){
  
      const sayMessage = args.join(" ");
      message.delete().catch(O_o =&gt; {});
      message.channel.send(`${sayMessage} - ${message.author}`);
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/cC1yL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cC1yL.png" alt="enter image description here"></a></p>
  
  <p>Thanks in advance!</p>