Updated discriminators, fixed singlenotify on message publish
diff --git a/src/utils/database.ts b/src/utils/database.ts
index 459b1d6..012f076 100644
--- a/src/utils/database.ts
+++ b/src/utils/database.ts
@@ -192,6 +192,7 @@
interface TranscriptAuthor {
username: string;
+ discriminator?: string;
nickname?: string;
id: string;
iconURL?: string;
@@ -389,6 +390,7 @@
type: type,
for: {
username: member!.user.username,
+ discriminator: member!.user.discriminator,
id: member!.user.id,
topRole: {
color: member!.roles.highest.color
@@ -402,6 +404,7 @@
createdTimestamp: Date.now(),
createdBy: {
username: interaction.user.username,
+ discriminator: interaction.user.discriminator,
id: interaction.user.id,
topRole: {
color: interactionMember?.roles.highest.color ?? 0x000000
@@ -417,6 +420,7 @@
id: message.id,
author: {
username: message.author.username,
+ discriminator: message.author.discriminator,
id: message.author.id,
topRole: {
color: message.member ? message.member.roles.highest.color : 0x000000