Update bot.py

This commit is contained in:
Yuuki Chan 2024-02-26 19:37:32 +09:00
parent 59ab163664
commit 38ff6a9b0d

View file

@ -109,6 +109,9 @@ class Bot:
async def action(self, target, msg):
await self.ircsend(f'PRIVMSG {target} :\x01ACTION {msg}\x01')
async def notice(self, target, msg):
await self.ircsend(f'NOTICE {target} :{msg}')
def parse_message(self, message):
parts = message.split()
if not parts: