Correct basic usage example

This commit is contained in:
Harmon 2016-10-19 06:41:29 -05:00
parent 341fcfc0e4
commit 450ed75806
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class MyOwnBot(pydle.Client):
async def on_connect(self): async def on_connect(self):
await self.join('#bottest') await self.join('#bottest')
async def on_message(self, source, target, message): async def on_message(self, target, source, message):
await self.message(target, message) await self.message(target, message)
client = MyOwnBot('MyBot', realname='My Bot') client = MyOwnBot('MyBot', realname='My Bot')