mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 12:31:07 -05:00
TimeBomb: channel-specific prefix characters
This commit is contained in:
parent
bcb990023f
commit
de97e07397
@ -98,8 +98,13 @@ class TimeBomb(callbacks.Plugin):
|
||||
self.responded = False
|
||||
self.rng = random.Random()
|
||||
self.rng.seed()
|
||||
|
||||
def get(group):
|
||||
v = group.getSpecific(channel=channel)
|
||||
return v()
|
||||
|
||||
try:
|
||||
self.command_char = conf.supybot.reply.whenAddressedBy.chars()[0]
|
||||
self.command_char = get(conf.supybot.reply.whenAddressedBy.chars)[0]
|
||||
except:
|
||||
self.command_char = ""
|
||||
if self.debug:
|
||||
|
Loading…
x
Reference in New Issue
Block a user