mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 08:24:16 +02:00
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.
This commit is contained in:
parent
126c7445db
commit
797d9dbff1
@ -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 <https://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
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('<a:dantasvibe:976309036754538676>');
|
|
||||||
} 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');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -35,15 +35,9 @@ export class VerifyReminder extends ScheduledTask {
|
|||||||
|
|
||||||
const channel = client.channels.cache.get(IDs.channels.nonVegan.general) as TextChannel;
|
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. '
|
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.'
|
+ '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.');
|
+ '\n\nIf there aren\'t any verifiers available, you\'ll be disconnected, and you can rejoin later.');
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user