This commit is contained in:
Jeremy Fincher 2004-07-26 01:19:41 +00:00
parent 16f4231780
commit ef659dd7a4
1 changed files with 9 additions and 9 deletions

View File

@ -33,21 +33,21 @@
Lots of stuff relating to random numbers. Lots of stuff relating to random numbers.
""" """
import plugins import supybot.plugins as plugins
import random import random
import conf import supybot.conf as conf
import utils import supybot.utils as utils
import ircmsgs import supybot.ircmsgs as ircmsgs
import ircutils import supybot.ircutils as ircutils
import privmsgs import supybot.privmsgs as privmsgs
import registry import supybot.registry as registry
import callbacks import supybot.callbacks as callbacks
def configure(advanced): def configure(advanced):
from questions import expect, anything, something, yn from supybot.questions import expect, anything, something, yn
conf.registerPlugin('Random', True) conf.registerPlugin('Random', True)
if yn('Do you want to specify a seed to be used for the RNG'): if yn('Do you want to specify a seed to be used for the RNG'):
seed = something('What seed? It must be an integer or long.') seed = something('What seed? It must be an integer or long.')