feat(ui): support verified bots and colored authors (#9471)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
Tetie
2023-04-29 17:26:31 +02:00
committed by GitHub
parent 77191a2e7b
commit 496c4e2884
5 changed files with 38 additions and 6 deletions

View File

@@ -136,6 +136,27 @@ Whenever some text does not need to be in the main body, you can put it here.
>
Interactions are supported! I definitely used a command.
</DiscordMessage>
<DiscordMessage
author={{
avatar: '/assets/discordjs.png',
bot: true,
color: 'text-red-500',
time: 'Today at 21:04',
username: 'Guide Bot',
}}
reply={{
author: {
avatar: '/assets/snek-bot.jpeg',
bot: true,
verified: true,
color: 'text-blue-500',
username: 'Snek Bot',
},
content: 'You can also have verified bots, like me!',
}}
>
Display colors are supported as well!
</DiscordMessage>
</DiscordMessages>
## Code blocks