Fixed bug where the default unit was "m" instead of sending None #27

Merged
AllfatherHatt merged 1 commits from default_unit_patch into master 2026-08-31 20:53:49 +02:00
Showing only changes of commit d63d03aead - Show all commits

View File

@ -117,7 +117,7 @@ class FitnessCog(commands.Cog):
) )
return 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()) timestamp = int(message.created_at.timestamp())
username = message.author.name username = message.author.name