From 797d9dbff16e73e72da92d1901e0e3a024199504 Mon Sep 17 00:00:00 2001 From: smyalygames Date: Sun, 2 Apr 2023 11:36:11 +0100 Subject: [PATCH] revert: it's no longer april This reverts commit afb5e8f0133ceb73d4b3d4930033a08506454212. Revert "fix(arabot): fix april with bad number comparison" This reverts commit 2cc0e5572b8b19b4f0dc949d04cd140cdb1a4635. Revert "fix(arabot): fix april with bad number comparison" This reverts commit 126c7445dbbddee5cf4a790761077d74d0d6e9e9. --- src/listeners/april.ts | 40 ------------------- .../messages/verifyReminder.ts | 6 --- 2 files changed, 46 deletions(-) delete mode 100644 src/listeners/april.ts diff --git a/src/listeners/april.ts b/src/listeners/april.ts deleted file mode 100644 index f7ef3be..0000000 --- a/src/listeners/april.ts +++ /dev/null @@ -1,40 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-or-later -/* - Animal Rights Advocates Discord Bot - Copyright (C) 2023 Anthony Berg - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -import { Listener } from '@sapphire/framework'; -import type { Message } from 'discord.js'; - -export class AprilMessageListener extends Listener { - public constructor(context: Listener.Context, options: Listener.Options) { - super(context, { - ...options, - event: 'messageCreate', - }); - } - - public async run(message: Message) { - if (Math.random() < 0.02) { - await message.react(''); - } else if (Math.random() > 0.999) { - await message.reply('owo'); - } else if (Math.random() > 0.998) { - await message.channel.send('anthony is the worst coordinator, fucking demote them already'); - } - } -} diff --git a/src/scheduled-tasks/messages/verifyReminder.ts b/src/scheduled-tasks/messages/verifyReminder.ts index db2ca6d..9054c52 100644 --- a/src/scheduled-tasks/messages/verifyReminder.ts +++ b/src/scheduled-tasks/messages/verifyReminder.ts @@ -35,15 +35,9 @@ export class VerifyReminder extends ScheduledTask { const channel = client.channels.cache.get(IDs.channels.nonVegan.general) as TextChannel; - await channel.send('H-hewwo?? If uu want to haz da vegan ow activist wowe, uu\'ww need to do a voice vewification. To do this, hop into da \'Vewification\' voice channew.\n' - + '\n' - + 'If thewe awen\'t any vewifiews avaiwabwe, uu\'ww be disconnected, and uu can wejoin watew. (๑•́ ₃ •̀๑)'); - - /* await channel.send('If you want to have the vegan or activist role, you\'ll need to do a voice verification. ' + 'To do this, hop into the \'Verification\' voice channel.' + '\n\nIf there aren\'t any verifiers available, you\'ll be disconnected, and you can rejoin later.'); - */ } }