diff --git a/src/commands/survey.ts b/src/commands/survey.ts index 31189e2..42d40b9 100644 --- a/src/commands/survey.ts +++ b/src/commands/survey.ts @@ -2,7 +2,6 @@ import { CommandInteraction, GuildMember, ActionRowBuilder, ButtonBuilder, Clien import * as fs from 'fs/promises'; import { knownServers } from '../lib/knownServers'; -const SURVEY_CHANNEL = '983479509376434216'; const RESPONSES_CHANNEL = '983762973858361364'; const GENERAL_CHANNEL = '587108210683412493'; @@ -758,11 +757,5 @@ module.exports = { advanceSurvey(member.id); }); - bot.on(Events.MessageCreate, msg => { - if (msg.channel.id !== SURVEY_CHANNEL) return; - if (msg.author.id === msg.client.user!.id) return; - - msg.delete(); - }); } };