ProtOS Discord Bot (Codename: Ram) DISCLAIMER: This repository is a mirror of my local network source control. Information may or may not be inaccurate. Updates only whenever I can be bothered.
This is a change to the internal JSON API of discord.py, which unfortunately breaks most of our config code that expects strings instead of ints. Most of the APIs have methods in place that can handle integers though, so consider switching them over.
The database will be more of a problem. Switching the model over to using ints instead of strings for snowflakes will not be too difficult, but databases will need to be migrated, so we'll need a script for that. Upgrading on production will be a pain.
- Identify possible issues aside from config/data storage incompatibilities
- Write script to migrate databases
- Change table prefabs in config.DatabaseHandle
This is a change to the internal JSON API of discord.py, which unfortunately breaks most of our config code that expects strings instead of ints. Most of the APIs have methods in place that can handle integers though, so consider switching them over.
The database will be more of a problem. Switching the model over to using ints instead of strings for snowflakes will not be too difficult, but databases will need to be migrated, so we'll need a script for that. Upgrading on production will be a pain.