Commit graph

14 commits

Author SHA1 Message Date
jesopo
a18157700c Check from_self, not if target==is_own_nickname, use from_self when adding to
buffer obj
2019-06-03 11:37:23 +01:00
jesopo
ae3e2708c0 buffer lines in private messages should be stored against the sender 2019-06-03 11:35:31 +01:00
jesopo
8b796c159f Only parse CTCP when we're not in a TAGMSG event 2019-06-03 11:10:01 +01:00
jesopo
d610282c9e Consolidate PRIVMSG, NOTICE and TAGMSG handlers in to 1 function 2019-06-03 11:03:12 +01:00
jesopo
e3d8063373 Check if a PRIVMSG/NOTICE is send *from* us before we check if it's sent *to* us
- so `user` isn't null when bitbot messages himself.
2019-05-22 14:23:38 +01:00
jesopo
6d44db6065 Remove references to STATUSMSG - just pass around a raw target_str (target
without statusmsg chars stripped off)
2019-05-21 23:09:32 +01:00
jesopo
bdd161256d has_capability -> has_capability_str, add new has_capability 2019-05-20 16:33:32 +01:00
jesopo
5d7f017c9c Enum values shouldn't be all upper case 2019-03-10 13:14:25 +00:00
jesopo
b4b15e5678 Don't treat ACTION CTCP as a different event to normal PRIVMSGs 2019-03-06 13:51:38 +00:00
jesopo
4aa9a06635 @utils.hook shouldn't be in line_handler/message.py 2019-03-03 22:45:54 +00:00
jesopo
7a3db82300 Add IRCServer.has_capability and use it throughout line_handler 2019-03-03 22:38:34 +00:00
jesopo
6bdec003a1 Split PRIVMSG last param explicitly by " " to make message_split 2019-02-23 10:54:17 +00:00
jesopo
76c6cc3709 Typo, 'taget' -> 'target' 2019-02-22 16:31:17 +00:00
jesopo
47c2cbb0fa Split line_handler.py out in to different files for different categories 2019-02-22 11:23:36 +00:00