Commit Graph
100 Commits
Author SHA1 Message Date
nyeki 281542a5c2 Finish adding call rule detectors
Missing language detectors (whatlang and lingua have terrible accuracy for short messages) and more words and phrases to the lists
2025-08-15 02:25:37 -03:00
nyeki 77182d9633 Apply cargo fmt --all 2025-08-15 01:44:22 -03:00
nyeki e472936c51 Add support for deleting messages on call 2025-08-15 01:43:36 -03:00
nyeki 12948dcc15 Add support for editing messages 2025-08-15 01:38:54 -03:00
nyeki b9410bedd7 Abstract user penalization 2025-08-15 00:41:15 -03:00
nyeki 7eb2a99b69 Prevent banned users from using call commands 2025-08-14 23:56:55 -03:00
nyeki fb7eba11bb Create NotBannedPermission 2025-08-14 23:50:18 -03:00
nyeki 208e0ddbf5 Add support for command permissions to the framework 2025-08-14 23:44:22 -03:00
nyeki deb76941ea Add no links rule 2025-08-14 23:36:37 -03:00
nyeki 25b96cdc2a Apply cargo fmt --all 2025-08-14 23:19:51 -03:00
nyeki f4f842e3c8 Fix clippy warnings 2025-08-14 23:19:40 -03:00
nyeki 6dde25aa72 Add automated warning and banning 2025-08-14 23:18:43 -03:00
nyeki 8e0c591b21 Add friend request command 2025-08-14 19:04:57 -03:00
nyeki fe53f2e5c2 Fix clippy warnings in cli module 2025-08-14 18:47:42 -03:00
nyeki 3c87fdfa69 Add docs about sharding to the cli module 2025-08-14 18:45:40 -03:00
nyeki da10b7f194 Add support for custom shard ID and count 2025-08-14 18:43:38 -03:00
nyeki 53d61cfbbb Add prefix customization command 2025-08-14 18:30:33 -03:00
nyeki eb6dcb4604 Fix misapplied TTL 2025-08-14 18:25:53 -03:00
nyeki 8432cb78fa Use first prefix for display instead of used prefix 2025-08-14 17:28:15 -03:00
nyeki faf9d9d580 Add support for white spaces between command prefix and name 2025-08-14 17:26:23 -03:00
nyeki f4a282447a Add prefix getter for custom server prefixes and Payphone mentions 2025-08-14 17:22:33 -03:00
nyeki 2b4c3d0b8b Apply cargo fmt --all 2025-08-14 13:48:35 -03:00
nyeki 1a446ae3bf Add some error inspection and logging 2025-08-14 13:44:52 -03:00
nyeki 55431d580e Add the skip command and remove the unused commands folder 2025-08-14 13:42:36 -03:00
nyeki 09ed3b870e Add default TTL to the messages DB table 2025-08-14 13:09:05 -03:00
nyeki 634c8eff8c Insert messages to DB when sent on call 2025-08-14 13:04:12 -03:00
nyeki 8173a508ad Expand documentation for RuntimeError 2025-08-13 14:55:01 -03:00
nyeki c284ede5b4 Add documentation for the PrefixGetter trait 2025-08-13 14:54:35 -03:00
nyeki 7b3fa9905a Rename IntoPrefixes into PrefixGetter 2025-08-13 14:49:12 -03:00
nyeki a14ae96a47 Add more documentation 2025-08-13 14:48:47 -03:00
nyeki e35b200d03 Add docs for the servers sub-module of groups 2025-08-13 14:34:26 -03:00
nyeki 285f1d4516 Expand documentation for the groups module 2025-08-13 14:19:48 -03:00
nyeki 2030812742 Add documentation for the cli::Commands enum 2025-08-13 14:14:06 -03:00
nyeki e407068a9c Merge remote-tracking branch 'origin/rewrite' into rewrite 2025-08-13 14:08:12 -03:00
nyeki 7270c90b62 Apply cargo fmt --all 2025-08-13 14:04:32 -03:00
nyeki 7119730668 Update .gitlab-ci.yml file 2025-08-13 16:51:16 +00:00
nyeki fb660c162b Add documentation for the discord module 2025-08-13 00:27:45 -03:00
nyeki 6ba65eef71 Add documentation for discord/sanitizing.rs module and add a few more characters to escape in SanitizeDiscordMarkdown 2025-08-13 00:27:35 -03:00
nyeki d7b8138606 Run cargo fmt 2025-08-13 00:21:59 -03:00
nyeki 66584a8239 Add documentation for utils.rs 2025-08-13 00:21:41 -03:00
nyeki 80ed00f796 Add documentation for main.rs 2025-08-13 00:21:36 -03:00
nyeki fd71345cd0 Document moderation module 2025-08-13 00:14:50 -03:00
nyeki 7ed2c10448 Add format on save setting to .vscode 2025-08-12 23:18:33 -03:00
nyeki 717de3eec5 Run cargo fmt --all 2025-08-12 23:16:56 -03:00
nyeki 09b875da97 Add InteractionRunner to on_interaction_handlers 2025-08-12 23:15:52 -03:00
nyeki 0cdbe63c55 Fix lint warnings 2025-08-12 23:01:55 -03:00
nyeki ed717ef94b Add clippy to CI Rust toolchain 2025-08-12 22:48:19 -03:00
nyeki 5806493ca8 Apply cargo fmt --all 2025-08-12 22:45:59 -03:00
nyeki 39c455f617 Fix CI linting job 2025-08-12 22:44:28 -03:00
nyeki d04af236d2 Fix linting stage name in gitlab-ci 2025-08-12 22:40:00 -03:00
nyeki e8a76d5e77 Fix .gitlab-ci.yml naming 2025-08-12 22:39:13 -03:00
nyeki 91d5bf73c5 Add CI file 2025-08-12 22:38:19 -03:00
nyeki 458f89a3a3 Remove trace logs for the moderation module 2025-08-12 16:53:23 -03:00
nyeki 4df7c8ce7d Add message auto-censorship 2025-08-12 16:52:29 -03:00
nyeki 28f8c8e702 Push branch 2025-08-12 11:42:09 -03:00
nyeki 79f0ca08b2 Checkpoint 2025-08-12 11:41:10 -03:00
nyeki cd7f4c1cc9 Checkpoint 2025-08-12 11:24:09 -03:00
nyeki 84e3b533f0 Add --open flag support to the docs server 2025-08-11 01:22:00 -03:00
nyeki 7bb3a3387a Add documentation about scylla's aio-max-nr in the crate's root docs 2025-08-10 23:35:26 -03:00
nyeki 6555ff672f Add more docs to Command::arguments() 2025-08-10 23:28:46 -03:00
nyeki 41eac08722 Add use to framework root docs examples 2025-08-10 23:26:43 -03:00
nyeki 689bde0acc Add basic command arguments documentation 2025-08-10 23:24:27 -03:00
nyeki b96474d0fb Add documentation for creating new commands 2025-08-10 23:15:05 -03:00
nyeki 0f0027da27 Add bot initialization docs for the framework module 2025-08-10 23:05:37 -03:00
nyeki 619223cf5e Add documentation for documentation server 2025-08-10 22:52:20 -03:00
nyeki edeaa1335f Add docs server 2025-08-10 22:50:55 -03:00
nyeki 1f002cb7ca Keep adding docs 2025-08-10 22:06:46 -03:00
nyeki 0ffb62a7dc Add state module docs 2025-08-10 22:03:58 -03:00
nyeki b785eaa6c6 Add documentation for the logging module 2025-08-10 22:00:29 -03:00
nyeki 5bd9cbd3ee Add constants.rs docs and update CLI's doc header 2025-08-10 21:55:21 -03:00
nyeki ca9c25159e Update TOKEN CLI argument's documentation 2025-08-10 21:53:27 -03:00
nyeki 6ca2649840 Add docs for the CLI module 2025-08-10 21:52:14 -03:00
nyeki d444a4ab89 Add generic application structure documentation in the root documentation 2025-08-10 21:46:02 -03:00
nyeki 7027d0508c Add README with guide to the docs 2025-08-10 21:34:02 -03:00
nyeki 293ff8f8de Add basic root documentation using rustdoc 2025-08-10 21:33:02 -03:00
nyeki a004fe2308 Finish refactoring 2025-08-10 21:15:53 -03:00
nyeki f123282699 Remove trailing whitespace in command help's usage when the command has no arguments 2025-08-07 22:25:27 -03:00
nyeki 24d2344f37 Initialize Twilight project, set up basic framework, initialize DB module 2025-08-07 04:32:34 -03:00
nyeki 00d61545eb Delete Python code 2025-08-05 22:42:17 -03:00
nyeki aca2ce0301 chore: 🔖 Bump to version v113. 2025-07-25 04:36:51 -03:00
nyeki 6d359f421c chore: 🔖 Bump to version v112. 2025-07-24 20:28:26 -03:00
nyeki aa1de620e6 chore(shard): Replace donation tip with thank you message. 2025-07-24 20:27:35 -03:00
nyeki 1e81af7fb3 chore: 🔖 Bump to version v111. 2025-07-24 16:37:03 -03:00
nyeki 334e198656 Replace tips with donation message 2025-07-24 16:36:27 -03:00
nyeki 8471677552 chore: 🔖 Bump to version v110. 2025-07-21 02:25:22 -03:00
nyeki 6b0498ff07 Remove "approve" report support 2025-07-21 02:24:37 -03:00
nyeki 2912dc5962 chore: 🔖 Bump to version v109. 2025-07-19 00:30:29 -03:00
nyeki 9c082af050 perf(scripts): ⚡ Make update.py script retag instead of rebuild. 2025-07-19 00:29:54 -03:00
nyeki 6e1afd7133 chore: 🔖 Bump to version v108. 2025-07-19 00:27:47 -03:00
nyeki ac8fddde39 chore: 🔖 Bump to version v107. 2025-07-13 02:22:17 -03:00
nyeki ebaec1d0ca chore: 🔖 Bump to version v106. 2025-06-03 19:58:08 -03:00
nyeki e45923964f chore: 🔖 Bump to version v105. 2025-05-26 00:01:26 -03:00
nyeki bf7c9bde92 fix(shard): 🚑 on_message raising error and not sending messages through calls. 2025-05-26 00:00:38 -03:00
nyeki 049d36928f build(kube): ⚡ Remove minReadySeconds from k8s/bot.yml. 2025-05-25 23:47:10 -03:00
nyeki 72fc65a083 chore: 🔖 Bump to version v104. 2025-05-25 23:38:34 -03:00
nyeki 9f2cdc4344 fix(shard): 🐛 Do not raise exception during call when the user's account is too young. 2025-05-25 23:37:54 -03:00
nyeki 3e5d7b267b chore: 🔖 Bump to version v103. 2025-05-25 23:35:51 -03:00
nyeki da865b105a fix(shard): 🚑 Young accounts being able to send messages on call. 2025-05-25 23:33:37 -03:00
nyeki 1d915a0818 chore: 🔖 Bump to version v102. 2025-05-21 12:29:40 -03:00
nyeki 8e7c2c603d chore: 🔖 Bump to version v101. 2025-05-11 22:59:43 -03:00