From bfd75bca4a4c1875ceed7a1c9a5e9a669c87bd98 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 30 Jul 2023 12:23:16 -0400 Subject: [PATCH] fix: made cleaned_value make the value into an int --- galaxy/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index cc42f48..b4ac129 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -130,7 +130,7 @@ class Galaxy(commands.Cog): value: Required[:class:`int`] The value of the ship you're checking. This should be supplied by `/shipinfo`. Not the same as ship cost!""" - cleaned_value = ''.join(char for char in value if char.isdigit()) + cleaned_value = int(''.join(char for char in value if char.isdigit())) insurance_dict = { "miner": 0.7, "freighter": 0.65,