Compare commits

..

No commits in common. "0de968dead2608a8d865b8afa0687ae5b04f06cb" and "117196ed16761c691f394ce2227fd37d2d513fc3" have entirely different histories.

2 changed files with 4 additions and 11 deletions

@ -1 +1 @@
Subproject commit 2ee43bab89d5331dd3f4234cb3845dca9e2f145c
Subproject commit bc8424c1c8a01994cf04836ba589dfceea90fec1

View file

@ -103,12 +103,6 @@ class Bot:
self.logger.error(f'Error sending IRC message: {e}')
raise
async def privmsg(self, target, msg):
await self.ircsend(f'PRIVMSG {target} :{msg}')
async def action(self, target, msg):
await self.ircsend(f'PRIVMSG {target} :\x01ACTION {msg}\x01')
def parse_message(self, message):
parts = message.split()
if not parts:
@ -141,11 +135,10 @@ class Bot:
ssl=ssl_context
)
if self.config['SASL'].get('UseSASL'):
await self.ircsend('CAP LS 302')
await self.ircsend('CAP LS 302')
await self.ircsend(f'NICK {self.config["Connection"].get("Nick")}')
await self.ircsend(f'USER {self.config["Connection"].get("Ident")} * * :'
f'{self.config["Connection"].get("Name")}')
await self.ircsend(
f'USER {self.config["Connection"].get("Ident")} * * :{self.config["Connection"].get("Name")}')
if self.config['SASL'].get('UseSASL'):
await self.ircsend('CAP REQ :sasl')
except Exception as e: