Brozy123 commited on
Commit
90548b1
·
verified ·
1 Parent(s): 325c568

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -1
index.js CHANGED
@@ -485,7 +485,6 @@ client.on('messageCreate', async (message) => {
485
  return;
486
  }
487
 
488
- const config = storage.data.config[message.guildId] || {};
489
  const botEnabled = config.botEnabled !== false; // Default to true if not set
490
 
491
  if (!botEnabled && commandName !== 'on') {
 
485
  return;
486
  }
487
 
 
488
  const botEnabled = config.botEnabled !== false; // Default to true if not set
489
 
490
  if (!botEnabled && commandName !== 'on') {