Skip to content
Prev Previous commit
Next Next commit
chore: add links, format file
  • Loading branch information
BruceCodesGithub committed Feb 7, 2022
commit 953d1a1a91ea9780d4fe1deee5b73d90c9a182b2
4 changes: 3 additions & 1 deletion docs/Interactions/buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ async def button(ctx):

bot.run("TOKEN") # Run the bot
```
Using this `button` command should return the following message:

Using this command should return the following message:

<DiscordMessages>
<DiscordMessage author="Guide Bot" avatar="red" bot>
Expand All @@ -61,6 +62,7 @@ Using this `button` command should return the following message:
</DiscordMessage>
</DiscordMessages>

<br />

As you can see, we create a class called `View` that [subclasses](#oop) [`discord.ui.View`](https://docs.pycord.dev/en/master/api.html#discord.ui.Button).

Expand Down
33 changes: 20 additions & 13 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const config = {
themeConfig: {
colorMode: {
defaultMode: 'dark',
disableSwitch: true
disableSwitch: true,
},
navbar: {
title: 'Pycord Guide',
Expand All @@ -63,33 +63,40 @@ const config = {
{
title: 'Community',
items: [
{
label: 'Discord',
href: 'https://discord.gg/pycord',
},
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/pycord',
},


],
},

{
title: 'Pycord',
items: [
{
label: 'Discord',
href: 'https://discord.gg/pycord',
label: 'Documentation',
href: 'https://docs.pycord.dev',
},
{
label: 'Github',
href: 'https://github.com/Pycord-Development',
},
],
},
/*{
title: 'More',
items: [
{
label: 'Twitter',
to: 'https://twitter.com/PycordDev',
label: 'Website',
href: 'https://pycord.dev',
},
{
label: 'GitHub',
href: 'https://github.com/p',
label: 'Twitter',
href: 'https://twitter.com/PycordDev',
},
],
},*/
},
],
copyright: `Copyright © ${ new Date().getFullYear() } Pycord Development`,
},
Expand Down