Skip to content

Commit

Permalink
feat: stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 committed Jun 3, 2024
1 parent 7c686dc commit 722d519
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion source/bridge/developer/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class NewCommand(commands.Cog):
await ctx.send("Hello, world!")

async def setup(bot):
bot.add_cog(NewCommand(bot))
await bot.add_cog(NewCommand(bot))
```

If you want to send a message to Hypixel, you can use `bot.mineflayer_bot.chat`:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ class MessageCog(commands.Cog):
await ctx.send(f"Message sent to {player}!")

async def setup(bot):
bot.add_cog(MessageCog(bot))
await bot.add_cog(MessageCog(bot))
```
14 changes: 13 additions & 1 deletion source/bridge/developer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,16 @@ Our bridge bots have two main ways that developers can extend them without modif
- The Redis server, described [here](/bridge/redis)
- Extensions, shortly described [here](/bridge/extensions)

This section goes more in-depth on extensions, and how to make them.
This section goes more in-depth on extensions, and how to make them.

## Pages

```{toctree}
---
maxdepth: 1
---
create
config
example
```
5 changes: 0 additions & 5 deletions source/bridge/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ messages between your Discord server and your Hypixel guild.
```{toctree}
---
maxdepth: 1
hidden: true
---
setup
redis
extensions
developer/index
```
- [Setup](setup)
- [Redis Setup (Optional)](redis)
- [Extensions](extensions)
- [Developer Documentation](developer/index)


## Help/Support
Expand Down
5 changes: 0 additions & 5 deletions source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ including our public Discord bot, API, and more.
```{toctree}
---
maxdepth: 1
hidden: true
---
api
discordbot/index
bridge/index
premium
```
- [API](/api)
- [Discord Bot](/discordbot/index)
- [Bridge Bots](/bridge/index)
- [Premium](/premium)


## Help/Support
Expand Down

0 comments on commit 722d519

Please sign in to comment.