Skip to content

Commit

Permalink
fixed bad decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
nfearnley committed Jun 9, 2024
1 parent 1474844 commit 58ffb13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions sizebot/cogs/objects.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from decimal import Decimal
import logging
import math
import random
from typing import cast, get_args
from typing import get_args

import discord
from discord import Embed
Expand All @@ -17,7 +16,7 @@
from sizebot.lib.objs import DigiLand, DigiObject, objects, relativestatsembed, relativestatssentence, statsembed, tags, format_close_object_smart, get_stats_sentence
from sizebot.lib.stats import StatBox, taglist, AVERAGE_HEIGHT
from sizebot.lib.types import BotContext, GuildContext
from sizebot.lib.units import SV, WV, AV
from sizebot.lib.units import SV, WV, AV, Decimal
from sizebot.lib.userdb import load_or_fake, MemberOrFake, MemberOrFakeOrSize
from sizebot.lib.fakeplayer import FakePlayer
from sizebot.lib.utils import parse_many, pretty_time_delta, sentence_join
Expand Down
5 changes: 2 additions & 3 deletions sizebot/cogs/quake.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import Literal, NamedTuple

from decimal import Decimal
from discord import Embed
import discord
from discord.ext import commands
Expand All @@ -9,8 +8,8 @@
from sizebot.lib.constants import colors, emojis
from sizebot.lib.quake import breath_joules, heartbeat_joules, joules_to_mag, jump_joules, mag_to_name, mag_to_radius, poke_joules, step_joules, stomp_joules, type_joules
from sizebot.lib.stats import StatBox
from sizebot.lib.types import BotContext, GuildContext
from sizebot.lib.units import SV
from sizebot.lib.types import GuildContext
from sizebot.lib.units import SV, Decimal
from sizebot.lib.userdb import load_or_fake, MemberOrFakeOrSize
from sizebot.lib.errors import UserMessedUpException

Expand Down

0 comments on commit 58ffb13

Please sign in to comment.