(init): Initial files. Features not implemented.

This commit is contained in:
Nix Krystik
2026-08-26 00:02:04 +08:00
commit 8d4d99f2e8
17 changed files with 791 additions and 0 deletions
@@ -0,0 +1,17 @@
import { CommandClient, Constants, Event, Member, Message } from "athena-prime";
import config from '../../config.json';
// ----------
class MessageReactionRemoveEvent extends Event<CommandClient> {
event: string = 'messageReactionRemove' as const;
async handle(context: CommandClient<any, any>, message: Message, emoji: Constants.APIEmoji, member: Member) {
const msg = await context.getMessage(message.channel.id, message.id);
if (msg.author.id !== config.identifiers.targetId || emoji.id !== config.identifiers.emojiId) return;
console.log(`[MESSAGE_REACTION_REMOVE] - Points: ${member.username} (ID: ${member.id})`);
}
}
export default new MessageReactionRemoveEvent('messageReactionRemove');