mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Updated.
This commit is contained in:
parent
16f4231780
commit
ef659dd7a4
@ -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.')
|
||||||
|
Loading…
Reference in New Issue
Block a user