spool refactor done, now supports multiple spools attached to a single printer, goodnight

This commit is contained in:
Tabby 2025-11-02 01:38:37 +11:00
parent b83ef6b77b
commit 7276e502af
7 changed files with 131 additions and 77 deletions

View file

@ -82,6 +82,7 @@ func on_interaction_create(bot: DiscordBot, interaction : DiscordInteraction):
#print("deleting: " + endangered_printer)
for printer in Library.save.printers:
if printer.name == endangered_printer:
Library.save.printers.erase(printer)
Library.save_data()
var embed = Embed.new().set_description(endangered_printer + " has been deleted")