Skip to content

Commit e72ffe3

Browse files
committed
feat: add banner to notify users of changes in monthly voting
1 parent 3e3b520 commit e72ffe3

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

content/api/reference/discord/bots.mdx

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,26 @@ title: Bots
33
full: true
44
---
55

6-
<APIPage document={"./openapi/api.json"} operations={[
7-
{ "path": "/discord/bots/{id}", "method": "get" },
8-
{ "path": "/discord/bots/{id}/historical", "method": "get" },
9-
{ "path": "/discord/bots/{id}/recent", "method": "get" }
10-
]} webhooks={[]} hasHead={true} />
6+
import { Banner } from 'fumadocs-ui/components/banner'
7+
8+
<Banner
9+
changeLayout={false}
10+
id='voting-change'
11+
variant='rainbow'
12+
rainbowColors={['rgba(255,51,102, 0.5)', 'transparent']}
13+
>
14+
[Monthly votes have changed](/docs/bots/pages/bot#topgg-voting-change)!
15+
</Banner>
16+
17+
###
18+
19+
<APIPage
20+
document={'./openapi/api.json'}
21+
operations={[
22+
{ path: '/discord/bots/{id}', method: 'get' },
23+
{ path: '/discord/bots/{id}/historical', method: 'get' },
24+
{ path: '/discord/bots/{id}/recent', method: 'get' },
25+
]}
26+
webhooks={[]}
27+
hasHead={true}
28+
/>

0 commit comments

Comments
 (0)