blob: 428b554deda69cb078e37808798436100817632e (
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
|
import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib';
export default class IronmoonCommand extends BushCommand {
public constructor() {
super('ironmoon', {
category: 'fake-commands',
description: '',
examples: [''],
usage: [''],
pseudo: true,
clientPermissions: [],
userPermissions: []
});
}
public override condition(message: BushMessage): boolean {
return false;
if (message.content.toLowerCase().includes('ironmoon')) return true;
else return false;
}
public override async exec(message: BushMessage | BushSlashMessage) {
return await message.util.reply('Your message included the word ironmoon.');
}
}
|