Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07a2bf7e38 | ||
|
|
8bec9a159b | ||
|
|
ee77279d6e |
@@ -32,7 +32,7 @@ def is_convertable(activity: str) -> bool:
|
|||||||
"""
|
"""
|
||||||
filename = activity_units_path(activity)
|
filename = activity_units_path(activity)
|
||||||
raw_data = json.load(open(filename))
|
raw_data = json.load(open(filename))
|
||||||
return raw_data.get("transformable")
|
return raw_data.get("convertable")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class FitnessCog(commands.Cog):
|
|||||||
await self.get_log_file(message)
|
await self.get_log_file(message)
|
||||||
return
|
return
|
||||||
# Make sure this one is past every other ! commands
|
# Make sure this one is past every other ! commands
|
||||||
await self.log_fitness(message)
|
await self.fitness_activity_log(message)
|
||||||
return
|
return
|
||||||
# endregion Fitness commands
|
# endregion Fitness commands
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user