ZeroIntensity / discobase

Database library using nothing but Discord. PyDis Codejam 2024.
https://discobase.zintensity.dev/
MIT License
6 stars 0 forks source link

Switch Discord client to commands.Bot #31

Closed enskyeing closed 3 months ago

enskyeing commented 3 months ago

For the interface, we're wanting the slash commands to be available in separate files for optimal organisation, the best way to do this would be to switch from the discord.Client to commands.Bot. commands.Bot gives us access to cogs and a range of other organisation commands that allow us to have our slash commands in an external file and import them into the bot upon launch.

enskyeing commented 3 months ago

This is a drop in for the client, so it shouldn't require any major changes to the initialization sequence in DB.