mirror of https://github.com/Shizmob/pydle.git
Correct basic usage example
This commit is contained in:
parent
341fcfc0e4
commit
450ed75806
|
@ -34,7 +34,7 @@ class MyOwnBot(pydle.Client):
|
|||
async def on_connect(self):
|
||||
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)
|
||||
|
||||
client = MyOwnBot('MyBot', realname='My Bot')
|
||||
|
|
Loading…
Reference in New Issue