diff --git a/src/listeners/april.ts b/src/listeners/april.ts new file mode 100644 index 0000000..8c77248 --- /dev/null +++ b/src/listeners/april.ts @@ -0,0 +1,40 @@ +// 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.01) { + await message.react(''); + } else if (Math.random() > 0.098) { + await message.channel.send('anthony is the worst coordinator, fucking demote them already'); + } else if (Math.random() > 0.99) { + await message.reply('owo'); + } + } +} diff --git a/src/scheduled-tasks/messages/verifyReminder.ts b/src/scheduled-tasks/messages/verifyReminder.ts index 9054c52..db2ca6d 100644 --- a/src/scheduled-tasks/messages/verifyReminder.ts +++ b/src/scheduled-tasks/messages/verifyReminder.ts @@ -35,9 +35,15 @@ 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.'); + */ } }