commit
75ff30bc42
@ -37,11 +37,11 @@ class Voice:
|
||||
'...'])
|
||||
|
||||
|
||||
def on_free_channel(channel):
|
||||
def on_free_channel(self, channel):
|
||||
return self._('Hey, channel {channel} is\nfree! Your AP will\nsay thanks.').format(channel=channel)
|
||||
|
||||
|
||||
def on_bored():
|
||||
def on_bored(self):
|
||||
return random.choice([ \
|
||||
self._('I\'m bored ...'),
|
||||
self._('Let\'s go for a walk!')])
|
||||
|
Loading…
x
Reference in New Issue
Block a user