Properly use regex

This commit is contained in:
Zeva Rose 2021-06-26 20:29:18 -06:00
parent 1fd1284d60
commit aaab30fb8f

View file

@ -37,7 +37,7 @@ class ImageCog(commands.Cog):
)
return
tgt_size = unconvert_bytesize(*tgt.groups())
tgt_size = unconvert_bytesize(float(tgt.groups()[0]), tgt.groups()[1])
file = None
if (
ctx.message.attachments is not None