Compare commits

...

4 commits

Author SHA1 Message Date
9ef2904018 Merge pull request 'More updates.' (#14) from Yuuki/EliteBot:master into master
Reviewed-on: #14
2024-02-26 11:51:51 +01:00
Yuuki Chan
0ad11dce51 Updated plugins. 2024-02-26 19:38:50 +09:00
Yuuki Chan
38ff6a9b0d Update bot.py 2024-02-26 19:37:32 +09:00
Yuuki Chan
59ab163664 Updated plugins. 2024-02-26 17:36:56 +09:00
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2ee43bab89d5331dd3f4234cb3845dca9e2f145c Subproject commit 375668d49010fdaaf1ff0df0e646704ab83a42be

View file

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