dfrotzPath config

This commit is contained in:
Gordon Shumway 2019-03-15 12:09:07 -04:00 committed by GitHub
parent 31e34a9fd6
commit da77ef4a4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -24,5 +24,7 @@ def configure(advanced):
from supybot.questions import expect, anything, something, yn
conf.registerPlugin('Frotz', True)
conf.registerGlobalValue(Frotz, 'dfrotzPath',
registry.String('/usr/local/bin/dfrotz', _("""The path to the dfrotz executable.""")))
Frotz = conf.registerPlugin('Frotz')