Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Libraries/python.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ Documentation can be found [here](https://topggpy.rtfd.io).

- Before using the webhook provided by this library, make sure that you have specified port open.
- Optimal values for port are between 1024 and 49151.
- If you happen to need help implementing topggpy in your bot, feel free to ask in the `#development` or `#api` channels in our [Discord server](https://discord.gg/dbl)
- If you happen to need help implementing topggpy in your bot, feel free to ask in the `#development` or `#api` channels in our [Discord server](https://discord.gg/EYHTgJX)
2 changes: 1 addition & 1 deletion docs/Resources/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Instead of requesting our API to see the users who have voted for your bot, you

## Getting Started

Start by setting up your webhook URL in the edit form of your bot on this site, it can be found at https://top.gg/bot/:your-bot-id/webhooks (Replace `:your-bot-id` with your bot's ID!). Once you've entered the URL you want the webhook to be sent to, you're all set! If you need help setting up webhooks inside of your bot don't be afraid to ask in our [discord server](https://discord.gg/dbl) in the `#topgg-api` channel.
Start by setting up your webhook URL in the edit form of your bot on this site, it can be found at https://top.gg/bot/:your-bot-id/webhooks (Replace `:your-bot-id` with your bot's ID!). Once you've entered the URL you want the webhook to be sent to, you're all set! If you need help setting up webhooks inside of your bot don't be afraid to ask in our [discord server](https://discord.gg/EYHTgJX) in the `#topgg-api` channel.

## Security

Expand Down
17 changes: 10 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ const config = {
({
docs: {
sidebarPath: './sidebars.js',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/top-gg/docs/tree/main/docs/',
sidebarCollapsed: false,
editUrl: 'https://github.com/top-gg/docs/tree/main/docs/',
},
theme: {
customCss: './src/css/custom.css',
},
customCss: './src/css/custom.css'
}
}),
],
],
Expand Down Expand Up @@ -85,13 +83,18 @@ const config = {
label: 'Community GitHub',
position: 'right',
},
{
href: 'https://discord.gg/EYHTgJX',
label: 'Discord Server',
position: 'right',
},
],
},

prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['csharp', 'java', 'javascript', 'php', 'ruby']
additionalLanguages: ['csharp', 'java', 'javascript', 'php', 'ruby', 'powershell', 'gradle', 'toml', 'lua']
},
}),
};
Expand Down
Loading