spool refactor done, now supports multiple spools attached to a single printer, goodnight
This commit is contained in:
parent
b83ef6b77b
commit
7276e502af
7 changed files with 131 additions and 77 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue