Spaces:
Runtime error
Runtime error
Update index.js
Browse files
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());
|