blob: 1f63c064b954164c966671d17fbbbd61928071d9 (
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 { 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.');
}
}
|