Overview of V3 Framework Changes
V3/developWhen migrating from V2 to V3, note the following architectural changes:
- Cogs as Packages: Cogs are now treated as full Python packages. Refer to
/guide_cog_creationfor implementation details. - Config API: Replaces
dataIO. It handles directory and file creation automatically and supports scoped storage (global, server, member, user, role, or channel). - Bank: Formerly part of Economy, Bank is now a standalone feature. It supports global banks and customizable bank/currency names.
- Mod Log: Now provided as an API, allowing cogs to register custom case types for server moderation logs.