Database migration

Learn how to avoid disruption while we change how we store your data

Let's get a bit technical

For most of ServerMate's life, the bot has been utilising basic JSON files to store and fetch user data. Over time these files have continued to grow as more and more servers and users start using the bot. Having so many requests to read and write data occur at once is something that I had never planned for, so having the bot boom as it has done is both amazing and terrifying at the same time, as there comes a point in time that as many times that I try and adapt the bot's saving methods (while maintaining speedy feedback), JSON just cannot handle the number of requests per second and inevitably corrupts itself. This has happened too many times now, and it's something that I am now hoping to address and fix. But in order for me to do this, I will need to gradually reset data on the bot as I make a move over to mySQL.

Changes planned

Note: The date provided above is in the UK standard for date formats (dd/mm/yyyy), other countries may differ

While there are a few behind-the-scenes systems that still run on JSON, we are currently not planning to migrate them until a later date.

Help us help you

As we make the gradual transition to mySQL, we will continue to keep you all updated in our Discord server and on this page. Make sure to check here every few days in case we suddenly make a change that could effect your use of the bot. That said, luckily there are not too many cases where the changes that we make will require you to set them up again in order to bump.

Changes made

Mon 11th May 2020 (11/05/2020)

Mark server as NSFW option

If your server is an NSFW-based server, you will need to make sure that you re-enable this option as soon as possible. Nothing has changed in the settings menu, so just make sure to set your server as an NSFW server as you did before when this change happens. If you need some help with doing so, please check this guide for step-by-step instructions.

Sat 9th May 2020 (09/05/2020)

Bot connections

If you use a bump connection to bump with other bots at once, you will need to enable all of your connections again from the !settings menu after we have reset this data. Do this by:

  1. Type !settings in your server

  2. Click on the reaction for server settings

  3. Click on the reaction for bot/server connections

  4. Click on the available numbered reactions for the bots that you want to enable

Verified server identification

This function allows our bot to identify if a certain server has been verified or not. Do not worry if your server is currently verified, as when we make the change, the server will automatically have the verified badge manually reinstated. There is no action needed from you unless you do not receive the verified badge again after the change. If you find that this is the case, please join our server and DM InsideDev#9477 about the issue.

Mon 4th May 2020 (04/05/2020)

Custom bump channel identification [IMPORTANT]

If your bump channel is named #bump, please disregard this section Many servers will want to be able to change the name of their bump channel in order for the bump channel to fit into the entire "design" of their server. If you own one of these servers that have changed their bump channel name from #bump then please revert the change by doing the following

  1. [PC] Hover over your custom bump channel and click the cog icon [Mobile] Long-press on your custom bump channel and click channel settings

  2. Rename the channel to #bump

  3. Save your changes and close the menu

Premium user identification

This function allows our bot to identify if a certain user has premium membership or not. Do not worry if you do, as when we make the change, you will automatically have your premium privileges manually reinstated. There is no action needed from you unless you do not receive your premium again after the change. If you find that this is the case, please join our server and DM InsideDev#9477 about the issue.

Sat 16th May 2020 (16/05/2020)

Remind option

Many users will have used the !remind command to ensure that they are told precisely when they can a server again. Make sure to re-enable this option if you would like to be reminded you can bump a server again.

Delete invoke messages option

If you have set ServerMate to delete command messages, you will find this option automatically disabled on the 16th. If you want ServerMate to delete invoking command messages, then make sure to re-enable this option in !settings.

Last updated