This PR removes the dependency on https://github.com/SpenserCai/sd-webui-discord/tree/main/utils, which is licensed under AGPL and therefore cannot be used in a project released under the MIT license. The few small functions which were used from that library have been re-implemented.
Removing that dependency also makes it easier to change the version of discordgo used in this project, which will fix some Discord API errors described in https://github.com/bwmarrin/discordgo/issues/1479. This project currently suffers from these errors, which can be seen by executing /imagine_settings
This PR removes the dependency on https://github.com/SpenserCai/sd-webui-discord/tree/main/utils, which is licensed under AGPL and therefore cannot be used in a project released under the MIT license. The few small functions which were used from that library have been re-implemented.
Removing that dependency also makes it easier to change the version of
discordgo
used in this project, which will fix some Discord API errors described in https://github.com/bwmarrin/discordgo/issues/1479. This project currently suffers from these errors, which can be seen by executing/imagine_settings