Skip to content

Commit 326b5cd

Browse files
committed
Make "ROT13" live
Closes #921
1 parent 7d0e160 commit 326b5cd

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
@@ -3316,7 +3316,6 @@ preamble = '''
33163316
'''
33173317

33183318
[ROT13]
3319-
experiment = 921
33203319
category = 'Transform'
33213320
links = [
33223321
{ name = 'Wikipedia', url = '//en.wikipedia.org/wiki/ROT13' },

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 == "rot13" {
69+
return chanFreshID
70+
}
6871
return chanSourID
6972
}
7073

0 commit comments

Comments
 (0)