Skip to content

Commit

Permalink
chore: update username field in message payload
Browse files Browse the repository at this point in the history
  • Loading branch information
k-taro56 committed May 30, 2024
1 parent 5276252 commit 544a1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ client.on('messageCreate', async (message) => {
},
body: JSON.stringify({
content: message.content,
username: message.author.tag,
username: message.author.username,
avatar_url: message.author.displayAvatarURL(),
flags: 4100,
}),
Expand Down

0 comments on commit 544a1ae

Please sign in to comment.