Commit graph

183 commits

Author SHA1 Message Date
jesopo
b9a543031a simplify reading lines, simplify wait_for, wait_for from outside reads 2020-06-13 00:21:39 +01:00
jesopo
db851e0ba2 whois.idle is an int, change whois.channels to ChannelUser objects (modes!) 2020-06-12 14:23:04 +01:00
jesopo
c4df2e2175 replace List with Sequence in matching/responses.py 2020-06-12 14:22:39 +01:00
jesopo
ab3cf63135 v0.2.6 release 2020-06-07 20:46:32 +01:00
jesopo
8f552a7d6f update ircstates to v0.9.18, catch ERR_NOSUCHSERVER (remote whois) 2020-06-07 20:46:05 +01:00
jesopo
110431b705 v0.2.5 release 2020-06-07 20:31:39 +01:00
jesopo
544d5de023 again, ERR_NOSUCHUSER -> ERR_NOSUCHNICK 2020-06-07 20:31:07 +01:00
jesopo
94e83c6e8c only point setup.py at 'ircrobots' package 2020-06-07 20:30:46 +01:00
jesopo
a4b9142b3d v0.2.4 release 2020-06-07 20:23:11 +01:00
jesopo
acc96b6902 add setup.py 2020-06-07 20:23:00 +01:00
jesopo
a4ad05598c v0.2.3 release 2020-06-07 20:21:22 +01:00
jesopo
3fc0e21b75 update ircstates to v0.9.17 2020-06-07 20:21:05 +01:00
jesopo
246e21451d v0.2.2 release 2020-06-07 19:41:57 +01:00
jesopo
2245ba23a2 ERR_NOSUCHUSER -> ERR_NOSUCHNICK 2020-06-07 19:41:26 +01:00
jesopo
873de48fc7 v0.2.1 release 2020-06-07 18:51:11 +01:00
jesopo
a5d8a13308 update ircstates to v0.9.15 2020-06-07 18:51:02 +01:00
jesopo
44f3243754 v0.2.0 release 2020-06-07 17:49:23 +01:00
jesopo
06afec2738 WHOIS should have nick, user/host/real are required, handle NOSUCHUSER 2020-06-07 17:46:38 +01:00
jesopo
aea7cf792a update ircstates to v0.9.14 2020-06-07 17:46:08 +01:00
jesopo
17ecd1416a glob.py.compile should have a return type 2020-06-07 17:45:47 +01:00
jesopo
dbc93355dc v0.1.9 release 2020-06-03 21:39:06 +01:00
jesopo
63878e75cd :Optional, not =Optional 2020-06-03 21:38:27 +01:00
jesopo
9b9ce11202 update ircstates to v0.9.13 2020-06-03 21:34:23 +01:00
jesopo
495da0530c v0.1.8 release 2020-06-02 11:40:08 +01:00
jesopo
78ef47b0b6 update ircstates to v0.9.12 2020-06-02 11:38:01 +01:00
jesopo
9feec47e63 v0.1.7 release 2020-06-01 14:44:18 +01:00
jesopo
5b04a5d1fd allow Formatless and Folded to be nested 2020-06-01 14:17:19 +01:00
jesopo
97c4a616c9 channels needs to be a list and needs enumerate() 2020-06-01 11:04:22 +01:00
jesopo
33bcba8001 add basic code for using labeled-responses as wait_for matches 2020-05-24 01:05:51 +01:00
jesopo
899c9c0b49 v0.1.6 release 2020-05-10 16:28:57 +01:00
jesopo
2786ce0986 update ircstates to v0.9.11 2020-05-10 16:28:39 +01:00
jesopo
fae9acb288 parse out RPL_WHOISCHANNELS when available (send_whois()) 2020-05-01 15:30:10 +01:00
jesopo
7ce706a0ab .defer() needs to actually return Future result 2020-05-01 15:26:15 +01:00
jesopo
bc70afe04b move setting wait_for_fut result to WaitFor await in case it isn't awaited 2020-04-30 11:22:47 +01:00
jesopo
47a4f99c3b update ircstates to v0.9.10 2020-04-29 14:55:40 +01:00
jesopo
e4af62a30c make wait_reads a deque instead of a list 2020-04-29 14:52:22 +01:00
jesopo
8f0a3045c5 self._wait_for is no longer used 2020-04-29 14:31:41 +01:00
jesopo
6d4222b4c1 minor refactor of how we call _next_line() 2020-04-29 12:23:11 +01:00
jesopo
51cfd0f36b rewrite how wait_for works - only one at a time now 2020-04-29 12:13:06 +01:00
jesopo
a3abae811a we don't need to prefold channel 2020-04-28 11:45:46 +01:00
jesopo
04354c7d36 add send_message() - optionally await echo 2020-04-28 01:41:20 +01:00
jesopo
9d4572edcc handle failure in send_joins() 2020-04-28 01:41:05 +01:00
jesopo
8c514a956e update ircstates to v0.9.9 2020-04-28 01:40:43 +01:00
jesopo
20290807d9 Self -> MaskSelf, add Self for param 2020-04-28 01:40:13 +01:00
jesopo
6b2b3d71c8 add send_nick() - optionally await success 2020-04-28 00:35:32 +01:00
jesopo
c06068bf2c update ircstates to v0.9.7 2020-04-28 00:35:15 +01:00
jesopo
33e191b980 better Nick repr, add Mask repr 2020-04-27 23:29:09 +01:00
jesopo
22b549708d add matching Hostmask type for Self, Nickname->Nick 2020-04-27 23:27:24 +01:00
jesopo
ab66df4d43 add backtracking irc glob matching 2020-04-27 23:26:41 +01:00
jesopo
0921cb8086 allow ResponseOr to be shorthanded as a Set[IMatchResponse] 2020-04-27 01:28:46 +01:00