blob: bb4fd88d2396f7d060245832261bb7474e6d4b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import { BotCommand, type CommandMessage, type SlashMessage } from '#lib';
export default class IronmoonCommand extends BotCommand {
public constructor() {
super('ironmoon', {
category: 'fake-commands',
description: '',
examples: [''],
usage: [''],
pseudo: true,
clientPermissions: [],
userPermissions: []
});
}
public override condition(message: CommandMessage): boolean {
return false;
if (message.content.toLowerCase().includes('ironmoon')) return true;
else return false;
}
public override async exec(message: CommandMessage | SlashMessage) {
return await message.util.reply('Your message included the word ironmoon.');
}
}
|