Brozy123 commited on
Commit
b5b59dd
·
verified ·
1 Parent(s): f0f3b39

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -1
index.js CHANGED
@@ -735,7 +735,6 @@ client.on('interactionCreate', async (interaction) => {
735
  if (interaction.commandName === 'post') {
736
  if (!interaction.member.permissions.has('Administrator')) return safeReply(interaction, { content: "❌ Admin Only", ephemeral: true });
737
  const text = interaction.options.getString('message');
738
- const text = interaction.options.getString('message');
739
  let count = 0;
740
  for (const guild of client.guilds.cache.values()) {
741
  const channel = guild.systemChannel || guild.channels.cache.find(c => c.isTextBased());
 
735
  if (interaction.commandName === 'post') {
736
  if (!interaction.member.permissions.has('Administrator')) return safeReply(interaction, { content: "❌ Admin Only", ephemeral: true });
737
  const text = interaction.options.getString('message');
 
738
  let count = 0;
739
  for (const guild of client.guilds.cache.values()) {
740
  const channel = guild.systemChannel || guild.channels.cache.find(c => c.isTextBased());