Stupid mistake
authorCameron Ball <cameron@moodle.com>
Wed, 8 May 2019 03:34:53 +0000 (11:34 +0800)
committerCameron Ball <cameron@moodle.com>
Wed, 8 May 2019 03:34:53 +0000 (11:34 +0800)
src/gnb.php

index 413af56..01d4c6a 100644 (file)
@@ -71,7 +71,7 @@ getTelegram()->addCommand(
             $hashes = map(map(☐(produceValue(0))(null)))(array_values($faveFiles));
             $songHashMap = unserialize(file_get_contents(__DIR__ . '/hashmap.txt'));
             $faveMap = ∘(map(∘(flip(concat)("'s Faves"), 'ucwords', field(0), delemit('.'), 'basename')), foldMap(☐(field(1))(field(0))), foldMap(id))(zzipWith(∘(map, aaray_merge))($names)($hashes));
-            $newFaves = zzipWith(∘(concat, flip(concat)(" in "), field(1), delemit(' '),  flip(field)($songHashMap)))(array_keys($faveMap))(array_values($faveMap));
+            $newFaves = zzipWith(∘(concat, flip(concat)(" in "), field(1), delemit('/'),  flip(field)($songHashMap)))(array_keys($faveMap))(array_values($faveMap));
 
             $thing = map(function ($fave) use ($arguments) {
                 $justTitle = join(' ', array_slice(explode(' ', $fave), 0 , -2));