forked from adam/discord-bot-shtik
Compare commits
No commits in common. "401a3ecbc8f827d75cdfd0c48df841904babd7a6" and "4e82eedf9c6697277f65ec14d2cdca5e45e1bb50" have entirely different histories.
401a3ecbc8
...
4e82eedf9c
@ -10,7 +10,7 @@ public class RoomRead : Behavior
|
|||||||
{
|
{
|
||||||
public override string Name => "Room Read";
|
public override string Name => "Room Read";
|
||||||
|
|
||||||
public override string Trigger => "!roomread";
|
public override string Trigger => "roomread";
|
||||||
|
|
||||||
public override async Task<bool> ActOn(Message message)
|
public override async Task<bool> ActOn(Message message)
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,6 @@ namespace vassago.Conversion
|
|||||||
return $"{String.Format("{0:N}", accumulator)} {normalizedDestUnit}";
|
return $"{String.Format("{0:N}", accumulator)} {normalizedDestUnit}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "you can never read this.";
|
|
||||||
}
|
}
|
||||||
return "dimensional analysis failure - I know those units but can't find a path between them.";
|
return "dimensional analysis failure - I know those units but can't find a path between them.";
|
||||||
}
|
}
|
||||||
|
@ -219,16 +219,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"canonical":"blue whale length",
|
"canonical":"blue whale lengths",
|
||||||
"aliases": [
|
"aliases": [
|
||||||
"bwl",
|
"bwl",
|
||||||
"whales"
|
"whales"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"canonical":"ångström",
|
"canonical":"ångströms",
|
||||||
"aliases": [
|
"aliases": [
|
||||||
"angstrom",
|
"angstroms",
|
||||||
"Å"
|
"Å"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -239,12 +239,6 @@
|
|||||||
"micrometres",
|
"micrometres",
|
||||||
"microns"
|
"microns"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"canonical":"uncle jordan",
|
|
||||||
"aliases":[
|
|
||||||
"uj"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"linearPairs":[
|
"linearPairs":[
|
||||||
@ -273,7 +267,6 @@
|
|||||||
{"item1":"blue whale length", "item2": "m", "factor": 29.9},
|
{"item1":"blue whale length", "item2": "m", "factor": 29.9},
|
||||||
{"item1":"m", "item2": "ångström", "factor": 10000000000},
|
{"item1":"m", "item2": "ångström", "factor": 10000000000},
|
||||||
{"item1":"smoot", "item2": "ft", "factor": 5.583333333333},
|
{"item1":"smoot", "item2": "ft", "factor": 5.583333333333},
|
||||||
{"item1":"uncle jordan", "item2": "cm", "factor":192.405},
|
|
||||||
|
|
||||||
{"item1":"floz", "item2":"mL", "factor":29.57344},
|
{"item1":"floz", "item2":"mL", "factor":29.57344},
|
||||||
{"item1":"L", "item2":"mL", "factor":1000},
|
{"item1":"L", "item2":"mL", "factor":1000},
|
||||||
|
Loading…
Reference in New Issue
Block a user