Skip to content

Commit 9a1fcec

Browse files
committed
Make "Billiards" live
1 parent 3f52c57 commit 9a1fcec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config/data/holes.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ F: / ? O _ o DEL
337337

338338
[Billiards]
339339
category = 'Art'
340-
experiment = 456
341340
released = 2024-12-01
342341
synopsis = 'Draw a path of a billiard ball.'
343342
preamble = '''

discord/bot.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ func init() {
6464
}
6565

6666
// TODO Make this dynamic based on hole/lang age.
67-
func channel(_ *config.Hole, _ *config.Lang) string {
67+
func channel(hole *config.Hole, _ *config.Lang) string {
68+
if hole.ID == "billiards" {
69+
return chanFreshID
70+
}
6871
return chanSourID
6972
}
7073

0 commit comments

Comments
 (0)