Merge pull request #31 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

View File

@ -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) 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([ \ return random.choice([ \
self._('I\'m bored ...'), self._('I\'m bored ...'),
self._('Let\'s go for a walk!')]) self._('Let\'s go for a walk!')])