Skip to content

Commit

Permalink
feat(superGlobalChat): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gx1285 committed Jul 17, 2023
1 parent 8971ee7 commit 1b5a326
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aqued",
"version": "3.1.2",
"version": "3.2.0",
"description": "Discord Bot",
"main": "dist/index.js",
"author": "aqued-dev",
Expand Down
9 changes: 7 additions & 2 deletions src/messages/superGlobalChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,13 @@ export default async function (message: Message) {
if (!repliedMessage) return;
await message.client.botData.superGlobalChat.replyMessages.set(value.id, {
content: message.content,
id: repliedMessage.id,
user: repliedMessage.user,
id: message.id,
user: {
discriminator: message.author.discriminator,
globalName: message.author.globalName,
username: message.author.username,
extDefaultAvatarURL: message.author.extDefaultAvatarURL({ extension: 'webp' }),
},
});
}
});
Expand Down

0 comments on commit 1b5a326

Please sign in to comment.