chore: replace placeholder example content with initial project scaffold

This commit is contained in:
retoor 2025-02-13 09:40:22 +00:00
parent 85922db224
commit e078ef918b

View File

@ -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())