Describe the bug
Using recent channel IDs causes the bot to not attempt to connect to discord because of the check to verify that channel IDs are 18 characters long. New channel IDs now start with 100 instead of 99 adding an extra digit. For example a real channel id from a channel I just created: 1001320306822107247.
Logs
2022-07-25 21:21:48,190 INFO Settings have saved. Send a test message...
2022-07-25 21:21:48,197 ERROR Incorrectly configured: Channel ID must be 18 chars long.
2022-07-25 21:21:48,221 INFO Starting Presence thread
2022-07-25 21:21:48,239 INFO Received event: startup
2022-07-25 21:21:48,659 INFO Received event: test
2022-07-25 21:21:55,058 INFO Failed with: Event loop is closed
2022-07-25 21:23:53,798 INFO DiscordRemote is started !
2022-07-25 21:23:53,800 ERROR Incorrectly configured: Channel ID must be 18 chars long.
2022-07-25 21:23:53,802 INFO Starting Presence thread
2022-07-25 21:23:53,807 INFO Received event: startup
2022-07-25 21:23:56,064 INFO Received event: printer_state_operational
2022-07-25 21:26:26,566 INFO Settings have saved. Send a test message...
2022-07-25 21:26:26,571 ERROR Incorrectly configured: Channel ID must be 18 chars long.
2022-07-25 21:26:26,577 INFO Received event: startup
2022-07-25 21:26:33,526 INFO Received event: test
To Reproduce
Steps to reproduce the behavior:
Create a new discord channel
Paste it into the channel id section of the plugin's page in OctoPrint
check logs and observe the bot not being able to connect to the server
Expected behavior
Plugin accepts channel ID and bot connects to discord
Describe the bug Using recent channel IDs causes the bot to not attempt to connect to discord because of the check to verify that channel IDs are 18 characters long. New channel IDs now start with 100 instead of 99 adding an extra digit. For example a real channel id from a channel I just created:
1001320306822107247
.Logs
To Reproduce Steps to reproduce the behavior:
Expected behavior Plugin accepts channel ID and bot connects to discord