Commit graph

93 commits

Author SHA1 Message Date
f394ddc5a6 Use new nick functions in bang command 2023-01-30 19:01:16 +01:00
de62727dc6 Fix clippy lints 2023-01-30 18:57:28 +01:00
46d9367670 Add ConnTx::send_only 2023-01-30 18:57:06 +01:00
09a9620f8e Implement nick normalization and mentioning 2023-01-30 18:46:19 +01:00
e6898cc9f7 Move nick hue functions to their own module 2023-01-30 18:25:38 +01:00
3bc50dcf26 Add Prefixed command constructor 2023-01-26 20:00:04 +01:00
ac2a3cdd9f Add testbot_commands example 2023-01-26 19:45:30 +01:00
ff886efd78 Make Command system more flexible 2023-01-26 18:18:21 +01:00
2719ab3301 Fix connection not checking pings 2023-01-24 18:11:41 +01:00
dfacc05749 Log full packets under different target 2023-01-24 17:43:03 +01:00
a0d55482cc Add botrulez 2023-01-24 15:47:57 +01:00
5655fa7c4a Construct Commands 2023-01-24 15:26:11 +01:00
ec9c4c9dd4 Add error type parameter to commands 2023-01-24 14:48:59 +01:00
4dcc021f73 Add bot::command::clap 2023-01-24 14:36:19 +01:00
84b742ee6e Add bot::command and bot::commands 2023-01-24 12:15:22 +01:00
9023de6509 Add bot::instances 2023-01-24 10:46:04 +01:00
63464fdc59 Log disconnect events 2023-01-23 22:48:05 +01:00
29b7d0ed7a Send Snapshot on Connected event 2023-01-23 21:38:48 +01:00
cd4b65d9cc Add InstanceConfig::force_username setting 2023-01-23 19:09:42 +01:00
6660313200 Make changelog more detailed 2023-01-23 18:57:44 +01:00
24e2da9fd3 Add Event::config 2023-01-23 18:32:09 +01:00
9315e5798c Add and update documentation 2023-01-22 22:33:52 +01:00
b34de07fe1 Compact function signatures 2023-01-22 22:33:37 +01:00
d5b45ecb39 Fix log message 2023-01-22 22:05:15 +01:00
820da6db1b Add Instance::stop 2023-01-22 21:57:09 +01:00
5d1d12522e Stop instance when it is dropped 2023-01-22 21:42:04 +01:00
3f14151feb Send different kinds of events 2023-01-22 20:51:08 +01:00
0c7e8c1dff Hide cookies in ServerConfig Debug impl 2023-01-22 20:49:34 +01:00
1ea5ede442 Limit Snapshot to Conn 2023-01-22 19:16:33 +01:00
5a8ad6b40f Split up instance config 2023-01-22 19:07:23 +01:00
adcd17deae Make instance event handler synchronous and infallible 2023-01-22 01:00:18 +01:00
eab230e796 Derive Debug for more types 2023-01-22 00:12:29 +01:00
d02b9a2e76 Update config constructor functions 2023-01-21 16:22:54 +01:00
fb8bb33965 Support cookies in instances 2023-01-21 16:17:27 +01:00
99893a1272 Clean up emoji file 2023-01-21 16:17:17 +01:00
4365d14923 Add logging to instance 2023-01-21 16:17:17 +01:00
f243e2243d Make conn::Result public 2023-01-21 14:05:42 +01:00
e5f1b21303 Export Emoji struct instead of emoji submodule 2023-01-21 14:05:42 +01:00
3f5ae51a41 Add debug logging to connection 2023-01-21 14:05:42 +01:00
bd74931ecd Fix instance not setting nick or using password 2023-01-21 13:12:18 +01:00
c1a970ae3c Re-add tokio-tungstenite tls feature
I'm not sure how to best leave this up to the user. Probably by cloning
those features? I'll have to have a look at what tokio-tungstenite does.
2023-01-21 01:25:03 +01:00
5805c25408 Use tokio's sleep_until
Instead of my own hastily thrown together implementation
2023-01-21 01:05:06 +01:00
02019762e0 Simplify replies code 2023-01-21 01:04:41 +01:00
74423b6207 Add testbot example for Instance 2023-01-21 00:45:12 +01:00
705ef90e98 Update testbot example
Packet handling is now extracted into a separate function and the bot
uses euphoxide's joined.since for its !uptime command.
2023-01-21 00:22:28 +01:00
7357435ee1 Add Instance 2023-01-21 00:08:11 +01:00
0ea72259f6 Add bot feature and submodule 2023-01-21 00:08:03 +01:00
84af98b5aa Build all features by default 2023-01-20 23:18:42 +01:00
90aa3fda31 Track time since connecting and joining 2023-01-20 22:43:08 +01:00
c15c05a64e Take emoji into account when calculating nick hue 2023-01-20 19:20:21 +01:00