ellypaws / stable-diffusion-discord-bot

A Discord bot, written in Go, that interfaces with the Automatic 1111's API interface.
MIT License
9 stars 0 forks source link

Remove basic utility dependency to fix AGPL license violation #1

Closed cbrl closed 9 months ago

cbrl commented 9 months ago

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