stable-diffusion-discord-bot icon indicating copy to clipboard operation
stable-diffusion-discord-bot copied to clipboard

Setting GuildId is not locking down the bot to a specific Guild/Server

Open chrisbward opened this issue 2 years ago • 1 comments

Hi,

Just had a bot added to a server that wasn't in the guild command flag, and it still seemed to work?

I checked the code but couldn't find anywhere that validates this flag... thanks!

chrisbward avatar Feb 14 '23 18:02 chrisbward

I've noticed this as well. Doesn't seem to be any scoping to a specific guild ID even if one is passed. And if you run two instances of the bot, each with a different guild ID, they both respond to both guilds' /imagine calls, resulting in 8x images generated (but only being able to upscale/variant the first four).

drusepth avatar Jul 03 '23 20:07 drusepth