chore: replace placeholder example content with initial project scaffold
This commit is contained in:
parent
85922db224
commit
e078ef918b
@ -77,7 +77,7 @@ class Bot:
|
||||
except AttributeError:
|
||||
continue
|
||||
|
||||
if data.username == self.user.username:
|
||||
if data.username == self.user['username']:
|
||||
await self.on_own_message(data.channel_uid, message)
|
||||
elif message.startswith("ping"):
|
||||
await self.on_ping(data.username, data.user_nick, data.channel_uid, data.message.lstrip("ping ").strip())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user