Repro - force the creation of a temp room (either normally or manually - manually can be achieved by creating a channel called "Extra Practice Room" and registering it using p!settings practice_channels add <#id>), join it, run p!lock, and leave the room, which triggers both an automatic unlock and a deprovisioning of the extra room.
According to the API the room is now deleted, but the standard Discord client leaves the room visible anyway. This is, presumably, a bug with the Discord client - but perhaps we might be able to avoid triggering it by not doing the automatic unlock if we're deleting the room anyway.
Repro - force the creation of a temp room (either normally or manually - manually can be achieved by creating a channel called "Extra Practice Room" and registering it using
p!settings practice_channels add <#id>
), join it, runp!lock
, and leave the room, which triggers both an automatic unlock and a deprovisioning of the extra room.According to the API the room is now deleted, but the standard Discord client leaves the room visible anyway. This is, presumably, a bug with the Discord client - but perhaps we might be able to avoid triggering it by not doing the automatic unlock if we're deleting the room anyway.