make requireCommand config per-channel

This commit is contained in:
Gordon Shumway 2019-12-07 23:15:05 -05:00 committed by GitHub
parent 98e2440ff2
commit 63dd495fa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ conf.registerGlobalValue(TextAdventures, 'dfrotzPath',
conf.registerGlobalValue(TextAdventures, 'allowPrivate', conf.registerGlobalValue(TextAdventures, 'allowPrivate',
registry.Boolean('True', _("""Allow games to be played over private message."""))) registry.Boolean('True', _("""Allow games to be played over private message.""")))
conf.registerGlobalValue(TextAdventures, 'requireCommand', conf.registerChannelValue(TextAdventures, 'requireCommand',
registry.Boolean('False', _("""Require game input to be sent via command. Disables registry.Boolean('False', _("""Require game input to be sent via command. Disables
monitoring of chanel messages for game input."""))) monitoring of chanel messages for game input.""")))