1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-25 04:24:20 +00:00
Commit graph

102 commits

Author SHA1 Message Date
261d314e83
Add /terraria command 2024-10-31 01:01:22 +01:00
dfd9c982a9
Fix FORTUNES length 2024-10-28 06:55:52 +01:00
5197279f0c
Add /answer superposition 2024-10-28 06:47:13 +01:00
ab69dc15bc
Add a couple more fortunes 2024-10-28 06:45:13 +01:00
5a5ff6d63d
Add /quote command 2024-10-28 06:30:05 +01:00
020cab782b
Move TelegramWrite impl for Diario to its own file 2024-10-28 05:11:28 +01:00
7b81649c56
I looked everywhere but couldn't find who asked 2024-10-28 05:09:20 +01:00
6ac67514b0
Set User-Agent: STRATZ_API header to bypass Cloudflare 2024-10-28 05:04:15 +01:00
c6358cb649
Log STRATZ response before it is parsed 2024-10-28 05:03:20 +01:00
ce1e216ece
Improve error passing for the STRATZ interface 2024-10-28 05:00:17 +01:00
35372b24bd
Print full error on service crash 2024-10-28 04:51:28 +01:00
22a26988ca
Do not reply if unaddressed 2024-09-12 05:22:54 +02:00
e8fd43d978
Add unimplemented optional config key TELEGRAM_MATCHMAKING_CHATID 2024-08-25 13:07:40 +02:00
41c060d7d0
Improve error messages for custom parsing failures 2024-08-25 12:57:33 +02:00
418d68de49
Allow any non-space characters as quoted user name 2024-08-25 12:54:06 +02:00
fccc97bca2
Ensure empty quotes can't be added to the Diario 2024-08-25 12:53:33 +02:00
Lorenzo Rossi
a72f0ee43d
Differentiate between unknown command and parse error (#14)
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2024-08-25 12:49:29 +02:00
6044f93e04
Use small preview for dota matches 2024-08-19 10:08:06 +02:00
6f09b0153a
Fix brooch conditional compiling 2024-08-19 10:02:36 +02:00
5c5826c7ea
Allow unused imports on all the query_prelude 2024-08-19 09:59:49 +02:00
2a19d2d0d8
Display dota matches with the large embed 2024-08-19 09:52:36 +02:00
c855a156f8
Sort replies to matchmaking based on their choice 2024-08-19 09:47:20 +02:00
4bd14da04c
RustRover please stop 2024-08-19 08:23:09 +02:00
fd4bfeb193
Fix a couple broken imports 2024-08-19 08:20:56 +02:00
eaad114f5c
Remove leftover AnyError in TelegramService 2024-08-19 07:56:02 +02:00
ec3f5daff7
Run "Reformat code..." IDE feature 2024-08-19 07:54:41 +02:00
9337834797
Run "Optimize imports..." IDE feature 2024-08-19 07:38:04 +02:00
b476a77fad
Allow clippy::manual_async_fn for get_*_future methods 2024-08-19 07:36:51 +02:00
111e474411
Remove unnecessary return 2024-08-19 07:34:35 +02:00
28f904bf01
Allow dead code in crate::utils 2024-08-19 07:34:24 +02:00
77efcd9762
Remove unused AnyError type alias 2024-08-19 07:33:45 +02:00
8081e173a0
Allow dead code for crate::services::RoyalnetService 2024-08-19 07:33:00 +02:00
cfef41d92c
Remove unit return type 2024-08-19 07:32:32 +02:00
7d915b7db5
Allow unused import for crate::services::RoyalnetService 2024-08-19 07:32:06 +02:00
3cfce76ba1
Only send matchmaking keyboard if the event hasn't started yet 2024-08-19 04:12:08 +02:00
Lorenzo Rossi
548cf714e8
Fix matchmaking time displayed as UTC (#13)
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2024-08-19 04:09:59 +02:00
56e3baa8c0
Add /matchmaking command and refactor whole codebase (#12) 2024-08-18 17:11:04 +02:00
af3ab04604
Remove unused import 2024-08-08 19:47:01 +02:00
230e500fc8
Allow creating /diario with a plain syntax 2024-08-08 19:46:34 +02:00
b3b6ff7a74
Do not bind warning variable in match arm 2024-08-08 16:59:36 +02:00
c726d4cbc8
Fix TelegramWrite of DiarioEntry with warnings 2024-08-08 16:59:05 +02:00
082ab57b68
Allow BroochService::new with too many arguments 2024-08-08 00:59:15 +02:00
bcb1793f00
Simplify escape_telegram_html 2024-08-08 00:59:15 +02:00
ebfcfe45e3
Remove unneeded return 2024-08-08 00:59:15 +02:00
a705e2fae4
Use .flatten instead of .filter_map(|o| o) 2024-08-08 00:59:15 +02:00
2575f2429a
Remove unnecessary reference 2024-08-08 00:59:15 +02:00
0cda38bb3d
Use writeln! instead of write! to write a new line 2024-08-08 00:59:15 +02:00
58a4cc478f
Remove clones of Copyable types 2024-08-08 00:59:15 +02:00
887fca9c30
Remove unnecessary pub(self) 2024-08-08 00:59:15 +02:00
437f3cf565
Add /diario command (#11)
Co-authored-by: Lorenzo Rossi <snowycoder@gmail.com>
2024-08-08 00:36:39 +02:00