From 5e9405207b6f5fe957b8ec0de1c958381b1779fd Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 23 Jul 2024 23:03:43 -0500 Subject: [PATCH] fixed bug where replying wouldn't work --- .dist/channel.js | 6 +++--- webpage/channel.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.dist/channel.js b/.dist/channel.js index ab677cf..a2cfd00 100644 --- a/.dist/channel.js +++ b/.dist/channel.js @@ -693,9 +693,9 @@ class Channel { if (replyingto) { replyjson = { - "guild_id": replyingto.guild.id, - "channel_id": replyingto.channel.id, - "message_id": replyingto.id, + "guild_id": replyingto.guild.id.id, + "channel_id": replyingto.channel.id.id, + "message_id": replyingto.id.id, }; } ; diff --git a/webpage/channel.ts b/webpage/channel.ts index 0fb5a13..21dd447 100644 --- a/webpage/channel.ts +++ b/webpage/channel.ts @@ -693,9 +693,9 @@ class Channel{ if(replyingto){ replyjson= { - "guild_id":replyingto.guild.id, - "channel_id": replyingto.channel.id, - "message_id": replyingto.id, + "guild_id":replyingto.guild.id.id, + "channel_id": replyingto.channel.id.id, + "message_id": replyingto.id.id, }; }; if(attachments.length===0){