diff --git a/src/bot.py b/src/bot.py index 8317786..7951be4 100644 --- a/src/bot.py +++ b/src/bot.py @@ -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: