Squashed commit of the following:

commit e8a57468de
Author: Tarrgon <61888458+Tarrgon@users.noreply.github.com>
Date:   Sat May 31 11:10:56 2025 -0400

    Add record command

commit 5a8ca6bb54
Author: Tarrgon <61888458+Tarrgon@users.noreply.github.com>
Date:   Sat May 31 11:10:30 2025 -0400

    Move context menus to their own folder

commit 2d7c14ed7a
Merge: 33a6ba8 5107759
Author: Tarrgon <61888458+Tarrgon@users.noreply.github.com>
Date:   Sat May 31 10:54:27 2025 -0400

    Merge branch 'alt-data' into records

commit 5107759923
Author: Tarrgon <61888458+Tarrgon@users.noreply.github.com>
Date:   Fri May 30 15:26:21 2025 -0400

    Recursive alt lookup data
This commit is contained in:
Tarrgon
2025-05-31 11:11:37 -04:00
parent 33a6ba893b
commit f5268ace77
11 changed files with 306 additions and 50 deletions
+15 -1
View File
@@ -138,4 +138,18 @@ export type Ban = {
export type BanUpdate = {
action: 'create' | 'update' | 'delete'
ban: Ban
};
};
export type RecordCategory = 'positive' | 'negative' | 'neutral'
export type Record = {
id: number
user_id: number
creator_id: number
created_at: string
body: string
category: RecordCategory
updated_at: string
updater_id: number
is_deleted: boolean
}
+3 -1
View File
@@ -1,4 +1,6 @@
import { APIRole, PermissionsBitField, TextChannel } from 'discord.js';
import { ActionRowBuilder, APIRole, ButtonBuilder, EmbedBuilder, PermissionsBitField, TextChannel } from 'discord.js';
export type MessageContent = { content?: string, embeds?: EmbedBuilder[], components: ActionRowBuilder<ButtonBuilder>[] };
export type RoleChangeLog = {
key: '$add' | '$remove',