~m4v/+junk/Urldb

« back to all changes in this revision

Viewing changes to config.py

  • Committer: Elián Hanisch
  • Date: 2010-08-17 21:38:55 UTC
  • Revision ID: lambdae2@gmail.com-20100817213855-qpgh7sh5dnnm7jrk
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Encoding: UTF-8 -*-
 
2
###
 
3
# Copyright (c) 2010, Elián Hanisch
 
4
# All rights reserved.
 
5
#
 
6
#
 
7
###
 
8
 
 
9
import supybot.conf as conf
 
10
import supybot.registry as registry
 
11
 
 
12
def configure(advanced):
 
13
    # This will be called by supybot to configure this module.  advanced is
 
14
    # a bool that specifies whether the user identified himself as an advanced
 
15
    # user or not.  You should effect your configuration by manipulating the
 
16
    # registry as appropriate.
 
17
    from supybot.questions import expect, anything, something, yn
 
18
    conf.registerPlugin('Urldb', True)
 
19
 
 
20
 
 
21
Urldb = conf.registerPlugin('Urldb')
 
22
# This is where your configuration variables (if any) should go.  For example:
 
23
# conf.registerGlobalValue(Urldb, 'someConfigVariableName',
 
24
#     registry.Boolean(False, """Help for someConfigVariableName."""))
 
25
 
 
26
 
 
27
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: