Commit graph

54 commits

Author SHA1 Message Date
Syping
912ac1eced add systemd service file 2024-02-26 12:01:23 +01:00
Syping
87961fe611 improve code organisation, add .rc file 2024-02-26 11:33:39 +01:00
Syping
5191dcbefc add DTRANSLATEBOT_TOKEN env value, small fixes 2024-02-26 09:41:55 +01:00
Syping
531c24b050 slashcommands: add missing ephemeral flag 2024-02-24 09:15:32 +01:00
Syping
46b80f3bdf message_queue: combine if condition 2024-02-23 11:27:17 +01:00
Syping
ea2c6c460f add /list languages command, minor fixes 2024-02-23 07:14:08 +01:00
Syping
7dcb64f7cf 0.1 release 2024-02-20 07:18:04 +01:00
Syping
8cf9b6af94 improve configuration example 2024-02-20 01:53:15 +01:00
Syping
12e81ed24c simplify configuration and some code improvements 2024-02-20 01:35:33 +01:00
Syping
8884fd2876 fix if condition 2024-02-19 20:55:10 +01:00
Syping
d5c8574063 check user permissions and erase deleted webhooks 2024-02-19 20:52:02 +01:00
Syping
a6feb1273c add edit command 2024-02-18 22:26:02 +01:00
Syping
ed1b93037c open list command to everyone, but limit information 2024-02-18 20:34:01 +01:00
Syping
9f91c960b0 add list command 2024-02-17 22:12:03 +01:00
Syping
2347974beb take advantage of initializer lists 2024-02-17 20:45:25 +01:00
Syping
9202f7ce00 /translate supports multiple targets now 2024-02-15 05:25:46 +01:00
Syping
9f995a129c add Boost.Regex support 2024-02-13 01:47:09 +01:00
Syping
5b9c3ce38f remove unnecessary call 2024-02-13 00:13:07 +01:00
Syping
cfede2f3e1 add Windows storage directory locking 2024-02-12 19:15:32 +01:00
Syping
2ad1bc3aa5 MSVC fixes 2024-02-12 18:09:46 +01:00
Syping
2c4464c134 change slashcommand descriptions 2024-02-10 16:26:01 +01:00
Syping
f74e354901 comment unused code, dont overwrite source language 2024-02-10 13:12:50 +01:00
Syping
10135e6ec1 mostly database fixes 2024-02-08 11:53:09 +01:00
Syping
13474ebefb run sync in a thread 2024-02-08 09:26:25 +01:00
Syping
2cbb137c11 remove debug leftover 2024-02-07 19:34:01 +01:00
Syping
a26763df96 basic impl of database system 2024-02-07 19:30:46 +01:00
Syping
fb94e44c7d rename working directory to storage directory 2024-02-06 16:25:04 +01:00
Syping
bb10b8ad59 add database file and file locking 2024-02-06 16:19:08 +01:00
Syping
94251d7dde add database core 2024-02-05 16:36:51 +01:00
Syping
72ba15c798 clean up and refactor some code 2024-02-05 12:55:01 +01:00
Syping
e2f3739fa1 output refactor 2024-02-04 10:12:19 +01:00
Syping
7e3696ce90 more refactoring 2024-02-04 10:03:18 +01:00
Syping
b09da9cfce improve logging and some refactor 2024-02-04 09:24:32 +01:00
Syping
86351b9537 refactor settings json parser 2024-02-04 08:05:55 +01:00
Syping
b10593440d little refactoring 2024-02-04 07:10:02 +01:00
Syping
92b480c8eb add_target function for settings 2024-02-03 08:10:28 +01:00
Syping
25d83b243d make code more efficient and added storage setting 2024-02-03 07:16:12 +01:00
Syping
3800da9b00 use std::queue for queues 2024-01-30 04:22:48 +01:00
Syping
f871441b78 code optimisations and potential unique_ptr leak fix 2024-01-29 22:47:42 +01:00
Syping
eb301aee1c Fix: add generated webhooks to webhook vector 2024-01-25 21:25:33 +01:00
Syping
3a158b400f add translate slashcommand, other improvements 2024-01-25 20:48:28 +01:00
Syping
18278581f4 add japanese punct to split regex and move some code 2024-01-20 23:09:16 +01:00
Syping
7700bd7b26 added message splitting 2024-01-20 22:39:23 +01:00
Syping
06dec819ff uint64_t -> dpp::snowflake + std::string -> dpp::webhook 2024-01-20 10:02:55 +01:00
Syping
7ee916537c use dpp::cluster::post_rest to send Webhook request 2024-01-20 09:44:55 +01:00
Syping
ccd2736c63 CMakeLists.txt and Webhook push improvements 2024-01-18 16:09:25 +01:00
Syping
0e205682a3 fix bug with empty author 2024-01-17 13:18:53 +01:00
Syping
2b24b90c54 use user guild avatar and name 2024-01-17 13:13:51 +01:00
Syping
502cabd7a7 add basic avatar support to webhook 2024-01-17 12:38:16 +01:00
Syping
5e78c2728a add submit_queue, translate other bots, few minor changes 2024-01-12 12:53:16 +01:00