ext modules

These modules provide classes used by the cogs. They are primarily built around the rest of CroissantBot’s code, but they could be useful when creating a new cog.

For music

For PostgreSQL databases

The db module provides the base db.DatabaseConnection class. It can connect and disconnect from a database, and check whether it is currently connected.

The music_db module provides the music_db.MusicDatabaseConnection class, which can manage the music database used by the Playlist cog.