Merge pull request from dadav/fix/self

Add some forgotten selfs
This commit is contained in:
evilsocket 2019-10-01 00:09:25 +02:00 committed by GitHub
commit 75ff30bc42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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!')])