Right now the bot sends 105 CHANNEL_UPDATE messages every 15 seconds. This is not good. This PR makes the bot check before overriding, so nothing is sent to the server unless it needs to be. Since I don’t control channel permissions on the test server, I am unable to test this PR other than that it now does not send CHANNEL_UPDATE messages all the time. So it will need to be tested if a channel with no permissions set gets updated correctly, and if a channel with the wrong permissions gets updated correctly.
Right now the bot sends 105 CHANNEL_UPDATE messages every 15 seconds. This is not good. This PR makes the bot check before overriding, so nothing is sent to the server unless it needs to be. Since I don’t control channel permissions on the test server, I am unable to test this PR other than that it now does not send CHANNEL_UPDATE messages all the time. So it will need to be tested if a channel with no permissions set gets updated correctly, and if a channel with the wrong permissions gets updated correctly.