Compare commits
No commits in common. "master" and "9month-revision-update2" have entirely different histories.
master
...
9month-rev
@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
"convertable": true,
|
|
||||||
"units": {
|
|
||||||
"kilogram": {
|
|
||||||
"factor": 1,
|
|
||||||
"aliases": [
|
|
||||||
"kg",
|
|
||||||
"kgs",
|
|
||||||
"kilogram",
|
|
||||||
"kilograms",
|
|
||||||
"kilogramme",
|
|
||||||
"kilogrammes",
|
|
||||||
"kg.",
|
|
||||||
"kgs."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"pound": {
|
|
||||||
"factor": 0.45,
|
|
||||||
"aliases": [
|
|
||||||
"lb",
|
|
||||||
"lb.",
|
|
||||||
"lbs",
|
|
||||||
"lbs.",
|
|
||||||
"pound",
|
|
||||||
"pounds"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"tonne": {
|
|
||||||
"factor": 1000,
|
|
||||||
"aliases": [
|
|
||||||
"t",
|
|
||||||
"t.",
|
|
||||||
"tonne",
|
|
||||||
"tonnes"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -12,7 +12,7 @@ class FitnessCog(commands.Cog):
|
|||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
default_threads = "1457402451530350727,1328363409648910356,1533433244186443827"
|
default_threads = "1457402451530350727,1328363409648910356"
|
||||||
threads_raw = os.getenv("THREADS_ID", default_threads)
|
threads_raw = os.getenv("THREADS_ID", default_threads)
|
||||||
|
|
||||||
self.threads_id: list[int] = []
|
self.threads_id: list[int] = []
|
||||||
@ -117,7 +117,7 @@ class FitnessCog(commands.Cog):
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
unit = parts[2] if len(parts) > 2 else None
|
unit = parts[2] if len(parts) > 2 else "m"
|
||||||
|
|
||||||
timestamp = int(message.created_at.timestamp())
|
timestamp = int(message.created_at.timestamp())
|
||||||
username = message.author.name
|
username = message.author.name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user