Fixed bug where the default unit was "m" instead of sending None #27
@ -117,7 +117,7 @@ class FitnessCog(commands.Cog):
|
||||
)
|
||||
return
|
||||
|
||||
unit = parts[2] if len(parts) > 2 else "m"
|
||||
unit = parts[2] if len(parts) > 2 else None
|
||||
|
||||
timestamp = int(message.created_at.timestamp())
|
||||
username = message.author.name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user