Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 30a5684

Browse files
async I did not edit log.ts i beg dont kill me
1 parent d7e01e8 commit 30a5684

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

src/commands/main/event.ts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/* import { EmbedBuilder, ChatInputCommandInteraction, GuildMemberRoleManager } from 'discord.js';
2+
import { KOGBot } from '../../index.js';
3+
import knex from "knex";
4+
import uuid from "uuid"; // not UUID v8 :nerd:
5+
6+
class EventCommand implements SlashCommand {
7+
name = 'event';
8+
description = 'Creates official events for KOG.';
9+
subcommands = [];
10+
parameters = [];
11+
dev = true;
12+
kogBot: KOGBot;
13+
14+
constructor(kogBot: KOGBot) {
15+
this.kogBot = kogBot;
16+
}
17+
18+
async execute(interaction: ChatInputCommandInteraction): Promise<void> {
19+
// create subcommands
20+
// create subcommand
21+
// modal handling - async plz
22+
// Create event
23+
// store UUID in DB
24+
// cancel command
25+
// message in KOG
26+
// import UUID in the parameter option bit
27+
// delete UUID from DB
28+
// reschedule parameter???
29+
// uuid required again
30+
// maybe but yeah maybe just another modal again
31+
// start
32+
// uuid required again
33+
// pings and start
34+
// end
35+
// uuid required again
36+
// pings and end
37+
// delete UUID from DB
38+
39+
// async dont delete or DEATH
40+
}
41+
}
42+
43+
export default EventCommand;
44+
45+
*/

0 commit comments

Comments
 (0)