some fixes...
vi v@vt3e.cat
Tue, 07 Apr 2026 00:52:12 +0100
3 files changed,
8 insertions(+),
5 deletions(-)
M
src/events/messageCreate.ts
→
src/events/messageCreate.ts
@@ -213,7 +213,6 @@ .insert(ticketMessages)
.values({ ticketId: ticket.id, authorId: message.author.id, - messageId: message.id, authorType: authorType, content: anonymisedContent, createdAt: message.createdAt,@@ -327,6 +326,12 @@ }
} } catch (error) { logger.error(error, "Failed to log ticket message"); + await message.reply({ + content: "Failed to log this message.", + allowedMentions: { + parse: [], + }, + }); } }, };
M
src/interactions/commands/roblox/getBanHistory.ts
→
src/interactions/commands/roblox/banHistory.ts
@@ -80,10 +80,8 @@ const projectKey = interaction.options.getString(
config.terminology, true, ) as keyof typeof config.projects; - console.log(projectKey); const project = config.projects[projectKey]; - console.log(project); const universeId = project.universe; const isModerator = await hasManagerPermissions(@@ -148,7 +146,7 @@ await interaction.editReply(
`Found user with username ${user.name}, fetching thumbnail...`, ); const [thumbnailRes] = await roblox.getThumbnail(id, { shape: "SQUARE" }); - const thumbnailUri = thumbnailRes ? thumbnailRes.response.imageUri : null; + const thumbnailUri = thumbnailRes ? thumbnailRes.response?.imageUri : null; const randomMessages = [ "grok is this true",
M
src/roblox/robloxUser.ts
→
src/roblox/robloxUser.ts
@@ -36,7 +36,7 @@ await interaction.editReply(
`Found user with username ${user.name}, fetching thumbnail...`, ); const [thumbnailRes] = await roblox.getThumbnail(id, { shape: "SQUARE" }); - const thumbnailUri = thumbnailRes ? thumbnailRes.response.imageUri : null; + const thumbnailUri = thumbnailRes ? thumbnailRes.response?.imageUri : null; const randomMessages = [ "grok is this true",