added info command to bot, added fix_cost and per_unit_cost

This commit is contained in:
Believethehype
2023-11-28 20:33:30 +01:00
parent bb2ab9e2c7
commit bd2f48cc2f
12 changed files with 107 additions and 80 deletions

2
dvm.py
View File

@@ -110,7 +110,7 @@ class DVM:
task_is_free = False
for dvm in self.dvm_config.SUPPORTED_DVMS:
if dvm.TASK == task and dvm.COST == 0:
if dvm.TASK == task and dvm.FIX_COST == 0 and dvm.PER_UNIT_COST == 0:
task_is_free = True
cashu_redeemed = False