Compare commits

...

179 Commits

Author SHA1 Message Date
Sheldan
6dd3b70bb2 [maven-release-plugin] prepare for next development iteration 2023-12-23 20:50:15 +01:00
Sheldan
f0600df517 [maven-release-plugin] prepare release templates-1.4.26 2023-12-23 20:50:10 +01:00
Sheldan
4d52be255f [AB-70] adding templates for image generation module and triggered command 2023-12-23 20:42:30 +01:00
Sheldan
6e5ab2f9ae [maven-release-plugin] prepare for next development iteration 2023-12-12 19:18:33 +01:00
Sheldan
2e16457baf [maven-release-plugin] prepare release templates-1.4.25 2023-12-12 19:18:28 +01:00
Sheldan
f778fe8804 [AB-63] adding templates for pressF command 2023-12-11 01:21:49 +01:00
Sheldan
48ad43a1b0 [AB-xxx] fixing versions after release 2023-12-11 01:20:43 +01:00
Sheldan
7ee101de79 [maven-release-plugin] prepare for next development iteration 2023-12-10 14:31:37 +01:00
Sheldan
dee05ccc88 [maven-release-plugin] prepare release templates-1.4.24 2023-12-10 14:31:33 +01:00
Sheldan
b1594b6a20 [AB-30] adding giveaway feature 2023-12-10 14:27:18 +01:00
Sheldan
b88046493b [AB-xxx] fixing suggestion update message 2023-11-19 01:18:13 +01:00
Sheldan
7256e72dbc [maven-release-plugin] prepare for next development iteration 2023-10-23 01:27:21 +02:00
Sheldan
6f9a055886 [maven-release-plugin] prepare release templates-1.4.23 2023-10-23 01:27:12 +02:00
Sheldan
8a2ae1c492 [AB-82] changing templates for command cooldown exceptions to use discord timestamps 2023-10-04 23:33:20 +02:00
Sheldan
c0a0bf23ff [maven-release-plugin] prepare for next development iteration 2023-09-26 22:53:46 +02:00
Sheldan
351325abe3 [maven-release-plugin] prepare release templates-1.4.22 2023-09-26 22:53:42 +02:00
Sheldan
ff5f56a065 [AB-106] adding deletion duration to ban command
removing banDelete command
updating deletion days to deletion duration
2023-09-26 01:05:08 +02:00
Sheldan
7718a86b14 [AB-xxx] adding information about command availability to help output 2023-09-20 02:01:36 +02:00
Sheldan
2d92a15bf0 [AB-105] migrating to discord usernames 2023-09-19 23:45:00 +02:00
Sheldan
c230455678 [AB-xxx] adding username to ban notification 2023-09-19 13:04:26 +02:00
Sheldan
e5549154e0 [maven-release-plugin] prepare for next development iteration 2023-09-07 23:29:40 +02:00
Sheldan
609609e484 [maven-release-plugin] prepare release templates-1.4.21 2023-09-07 23:29:36 +02:00
Sheldan
9fc76179dc [AB-xxx] changing formatting for custom command output 2023-09-07 23:09:17 +02:00
Sheldan
ba52bea891 [maven-release-plugin] prepare for next development iteration 2023-09-07 21:10:10 +02:00
Sheldan
fd0c99ae60 [maven-release-plugin] prepare release templates-1.4.20 2023-09-07 21:10:06 +02:00
Sheldan
3687ec3daf [AB-104] adding templates for new cooldown related commands
removing all templates related to the custom cooldown handling for payday and slots
2023-09-06 01:24:51 +02:00
Sheldan
12665c09af [AB-97] adding wind speed to weather command 2023-09-05 01:44:51 +02:00
Sheldan
6819b13439 [AB-103] adding templates for custom command configuration commands 2023-09-05 01:25:28 +02:00
Sheldan
b5d6b964e2 [AB-xxx] adding poll not found exception templates 2023-09-03 01:40:43 +02:00
Sheldan
3d7359daa3 [maven-release-plugin] prepare for next development iteration 2023-09-03 00:51:28 +02:00
Sheldan
5b298ec037 [maven-release-plugin] prepare release templates-1.4.19 2023-09-03 00:51:23 +02:00
Sheldan
cca6c9eb9d [AB-94] adding templates for show poll command 2023-09-03 00:20:00 +02:00
Sheldan
3d1ef56aed [AB-100] fixing failing to show twitch streamer if default post target is not setup 2023-09-02 21:49:56 +02:00
Sheldan
4278310ddc [AB-101] adding random string to twitch stream preview image to invalidate cache 2023-09-02 21:42:13 +02:00
Sheldan
7d87c0d3f4 [AB-102] adding templates for redirect 2023-09-02 21:21:07 +02:00
Sheldan
a1d6d04011 [maven-release-plugin] prepare for next development iteration 2023-07-09 23:16:20 +02:00
Sheldan
62e6d50b12 [maven-release-plugin] prepare release templates-1.4.18 2023-07-09 23:16:15 +02:00
Sheldan
c8f2ebe7d7 [AB-98] removing test string 2023-07-09 23:10:38 +02:00
Sheldan
5a63f0a8de [AB-98] adding templates for twitch feature 2023-07-09 23:09:34 +02:00
Sheldan
4810352160 [AB-90] extracting add option button label to template 2023-06-04 21:58:05 +02:00
Sheldan
ee4a39f871 [maven-release-plugin] prepare for next development iteration 2023-06-04 21:16:06 +02:00
Sheldan
4a80d0ca71 [maven-release-plugin] prepare release templates-1.4.17 2023-06-04 21:16:02 +02:00
Sheldan
7e99db3733 [AB-90] adding poll functionality 2023-06-04 21:10:55 +02:00
Sheldan
9373b07c8a [AB-xx] making description for slow mode parameter shorter 2023-05-18 23:33:58 +02:00
Sheldan
af436715f5 [maven-release-plugin] prepare for next development iteration 2023-05-18 22:52:04 +02:00
Sheldan
4f8c4d0062 [maven-release-plugin] prepare release templates-1.4.16 2023-05-18 22:52:00 +02:00
Sheldan
7300dccfc7 [AB-93] adapting templates causing an message attachment to use new behaviour 2023-05-18 22:33:36 +02:00
Sheldan
892de1bcd3 [AB-92] fixing modmail already exists template 2023-05-18 01:23:03 +02:00
OneNormalUsername
993d5a2873 Various minor wording updates (#11)
Co-authored-by: Sheldan <5037282+Sheldan@users.noreply.github.com>
2023-04-14 16:51:28 +02:00
Sheldan
d9f65184e7 [AB-xxx] fixing help text for feature modes parameter 2023-03-29 23:53:01 +02:00
Sheldan
4e963d6767 [AB-xxx] fixing showing the user id with "," for warnings output 2023-03-19 16:47:52 +01:00
Sheldan
a3d125b67d [AB-91] adding direct link to open weather map in the output of the weather command 2023-03-19 10:55:36 +01:00
Sheldan
c6aa854aa3 [maven-release-plugin] prepare for next development iteration 2023-03-19 00:13:09 +01:00
Sheldan
318b41ae3d [maven-release-plugin] prepare release templates-1.4.15 2023-03-19 00:13:05 +01:00
Sheldan
e05f774500 [AB-89] adding templates for weather command feature 2023-03-19 00:04:06 +01:00
Sheldan
b6a2dd2da7 [AB-xxx] adding comma as separator for emote stats 2023-03-12 13:51:05 +01:00
Sheldan
1b8717a5aa [AB-xxx] changing logic for author names and avatars to be more considerate between user and member avatar
limiting roles for userinfo and features for server info to lower values
2023-03-05 13:49:46 +01:00
Sheldan
4bcc4260d1 [maven-release-plugin] prepare for next development iteration 2023-02-26 10:57:04 +01:00
Sheldan
fcadb4260b [maven-release-plugin] prepare release templates-1.4.14 2023-02-26 10:56:59 +01:00
Sheldan
dba30f80f2 [AB-85] adding template for suggestion thread name
not showing suggestion votes in the update message in case reactions are used for suggestions
2023-02-26 10:53:27 +01:00
Sheldan
acb65e49b2 [AB-84] adding suggestion text, vote percentages and emotes to suggestion update message 2023-02-25 18:34:27 +01:00
Sheldan
f934f1d2f9 [maven-release-plugin] prepare for next development iteration 2023-02-04 15:45:43 +01:00
Sheldan
a6b57310e3 [maven-release-plugin] prepare release templates-1.4.13 2023-02-04 15:45:39 +01:00
Sheldan
e4eb86da33 [AB-83] changing suggestion auto evaluation text to be relative and adapting naming
adding emotes to suggestion buttons
adding missing configuration setup template
2023-02-04 15:45:10 +01:00
Sheldan
28c26cf966 [maven-release-plugin] prepare for next development iteration 2023-02-04 14:51:22 +01:00
Sheldan
0e220001ed [maven-release-plugin] prepare release templates-1.4.12 2023-02-04 14:51:17 +01:00
Sheldan
e9adccb06a [AB-20] adding templates for experience level up notification config command 2023-01-28 13:12:44 +01:00
Sheldan
36d9996c02 [maven-release-plugin] prepare for next development iteration 2023-01-12 01:36:41 +01:00
Sheldan
54e12e3d0a [maven-release-plugin] prepare release templates-1.4.11 2023-01-12 01:36:37 +01:00
Sheldan
801bdddac9 [AB-xxx] fixing rank template for low experience 2022-12-21 15:48:07 +01:00
Sheldan
6b60228313 [maven-release-plugin] prepare for next development iteration 2022-12-21 13:25:56 +01:00
Sheldan
70e6b76e7b [maven-release-plugin] prepare release templates-1.4.10 2022-12-21 13:25:51 +01:00
Sheldan
0bc7105b62 [AB-xxx] adding level progress to rank command 2022-12-21 01:39:10 +01:00
Sheldan
3eb08360ec [AB-xxx] fixing template for serverinfo output 2022-12-20 13:17:53 +01:00
Sheldan
1089292fd7 [maven-release-plugin] prepare for next development iteration 2022-12-10 16:56:00 +01:00
Sheldan
c419ea3928 [maven-release-plugin] prepare release templates-1.4.9 2022-12-10 16:55:56 +01:00
Sheldan
646225d46a [AB-77] adding templates for reaction report failure in case of interactions 2022-12-10 13:06:35 +01:00
Sheldan
43a91d974b [maven-release-plugin] prepare for next development iteration 2022-12-02 21:22:12 +01:00
Sheldan
e4eba1e726 [maven-release-plugin] prepare release templates-1.4.8 2022-12-02 21:22:08 +01:00
Sheldan
95b9b3ba3b [AB-66] adapting invalid mine board configuration message 2022-12-02 21:21:33 +01:00
Sheldan
50d5954d6b [maven-release-plugin] prepare for next development iteration 2022-12-02 01:37:27 +01:00
Sheldan
a6cc2931d0 [maven-release-plugin] prepare release templates-1.4.7 2022-12-02 01:37:23 +01:00
Sheldan
c03514873e [AB-66] adding templates for mine game 2022-12-02 01:30:02 +01:00
Sheldan
471d171da6 [AB-xxx] adding missing template for suggestion config setup 2022-11-20 19:59:54 +01:00
Sheldan
67d64af318 [maven-release-plugin] prepare for next development iteration 2022-11-20 19:55:04 +01:00
Sheldan
3e76d39f58 [maven-release-plugin] prepare release templates-1.4.6 2022-11-20 19:55:00 +01:00
Sheldan
88ea5c8e17 [AB-25] adding templates for level up notification and setup of experience 2022-11-20 17:23:25 +01:00
Sheldan
f273bd0872 [AB-76] adding auto evaluation text to suggestion template 2022-11-11 00:07:01 +01:00
Sheldan
3b471e2daf [AB-74] adding more output to transfer commands output 2022-11-09 22:54:02 +01:00
Sheldan
6a187c9016 [maven-release-plugin] prepare for next development iteration 2022-10-27 20:54:44 +02:00
Sheldan
95cba127b8 [maven-release-plugin] prepare release templates-1.4.5 2022-10-27 20:54:40 +02:00
Sheldan
1dfb6e2517 [AB-75] adding templates for thread reader command and feature 2022-10-22 14:56:43 +02:00
Sheldan
1f5336728a [maven-release-plugin] prepare for next development iteration 2022-10-16 12:37:38 +02:00
Sheldan
5ec86f0647 [maven-release-plugin] prepare release templates-1.4.4 2022-10-16 12:37:34 +02:00
Sheldan
c020e9353f [AB-71] fixing spoiled attachments not being considered when embedding, we now spoil the link text instead 2022-10-06 00:37:21 +02:00
Sheldan
319850ff39 [AB-73] adding scheduled target date of reminder to reminder notification 2022-10-06 00:11:08 +02:00
Sheldan
34e255b87a [AB-72] adding joined reminders to reminder list
refactored reminders model
2022-10-06 00:01:36 +02:00
Sheldan
71870a4a98 [maven-release-plugin] prepare for next development iteration 2022-08-28 23:29:37 +02:00
Sheldan
049e5b0a1c [maven-release-plugin] prepare release templates-1.4.3 2022-08-28 23:29:33 +02:00
Sheldan
1241571048 [AB-65] adding ability to join a reminder via button
adding reminder text to slash button reminder
2022-08-28 23:14:27 +02:00
Sheldan
f6ed141328 [AB-69] adapting template of userinfo command 2022-08-27 14:45:18 +02:00
Sheldan
d58633803c [AB-68] adding message context label for mock context command 2022-08-25 00:33:35 +02:00
Sheldan
8a1c2a595f [maven-release-plugin] prepare for next development iteration 2022-08-01 23:03:08 +02:00
Sheldan
42e17c2251 [maven-release-plugin] prepare release templates-1.4.2 2022-08-01 23:03:04 +02:00
Sheldan
dc268ac643 fixing emote stats and reaction report related templates 2022-08-01 23:00:09 +02:00
Sheldan
5da19ef286 [maven-release-plugin] prepare for next development iteration 2022-07-27 22:18:19 +02:00
Sheldan
e392219f4c [maven-release-plugin] prepare release templates-1.4.1 2022-07-27 22:18:15 +02:00
Sheldan
379d633b22 adding suggest exception templates 2022-07-27 22:14:09 +02:00
Sheldan
67ed830920 [AB-xxx] fixing template for reaction reports with attachments 2022-07-25 18:15:09 +02:00
Sheldan
0e9071945d [maven-release-plugin] prepare for next development iteration 2022-07-23 10:48:13 +02:00
Sheldan
34fbf8aea1 [maven-release-plugin] prepare release templates-1.4.0 2022-07-23 10:48:09 +02:00
Sheldan
bd72f93e1f [AB-53] economy related templates
adding custom command module
2022-07-23 10:44:05 +02:00
Sheldan
a41045e5fd [AB-52] help infractions command templates
adding templates for infraction
updating templates for reaction reports
creating templates for message report context menu
fixing show effects command for no effects configured
reworking muting embed templates
adding templates for edit infractions
2022-07-18 21:56:01 +02:00
Sheldan
a8f256827c [AB-xx] fixing template for warn decay message 2022-07-04 18:30:54 +02:00
Sheldan
388bea7859 [maven-release-plugin] prepare for next development iteration 2022-06-20 00:10:43 +02:00
Sheldan
61dd7ee589 [maven-release-plugin] prepare release templates-1.4.0.RC1 2022-06-20 00:10:39 +02:00
Sheldan
b6dfca2266 [AB-365] adding and updating templates for slash commands 2022-05-29 19:30:01 +02:00
Sheldan
30eadf6352 [AB-358] refactoring templates and setting new 1.4 version 2022-05-17 00:35:50 +02:00
Sheldan
e505b181e6 [maven-release-plugin] prepare for next development iteration 2022-05-15 17:50:20 +02:00
Sheldan
ab80220944 [maven-release-plugin] prepare release templates-1.3.2 2022-05-15 17:50:16 +02:00
Sheldan
33bdfd29a1 [AB-xxx] adding macro for defaulting easier in case of null values 2022-05-15 13:08:47 +02:00
Sheldan
6a76cd3c61 [AB-xxx] moving the original link hint 2022-02-12 23:30:07 +01:00
Sheldan
1f449750f8 [AB-xxx] adding hint to show where the original link for a message embed is 2022-02-12 23:08:33 +01:00
Sheldan
f39c25e5fc [maven-release-plugin] prepare for next development iteration 2022-02-12 11:46:32 +01:00
Sheldan
a2d15ea9b1 [maven-release-plugin] prepare release templates-1.3.1 2022-02-12 11:46:28 +01:00
Sheldan
d1657c3b8a [AB-xxx] moving utility module template to core 2022-02-11 18:45:54 +01:00
Sheldan
120d30049a [AB-347] adding multiple and generic attachment support to modmail templates
fixing modmail notification template
2021-12-25 16:30:25 +01:00
Sheldan
6ea28f2424 [AB-352] changed templates for mutes/user notes/warns after models changed
reduced warnings displayed at once
placed reason for warnings at different position
2021-12-24 23:42:31 +01:00
Sheldan
60e37b4ef2 [maven-release-plugin] prepare for next development iteration 2021-12-24 13:50:06 +01:00
Sheldan
ad6ad7dc8b [maven-release-plugin] prepare release templates-1.3.0 2021-12-24 13:50:02 +01:00
OneNormalUsername
bb47784554 Display in bold whether a warning is active or decayed (#10)
Co-Authored-By: Sheldan <5037282+Sheldan@users.noreply.github.com>
2021-12-23 15:48:33 +01:00
Sheldan
921a5259ee [AB-349] refactoring templates to have the new multi embed structure 2021-12-08 16:32:41 +01:00
Sheldan
c52dbbb1f3 [AB-338] fixing messages without content not properly handled by modmail
fixing mutes and warnings paginator template
2021-12-02 00:03:22 +01:00
Sheldan
02d5d7cc1c [AB-291] adding templates for new pagination system
adding templates for mutes command
2021-12-01 01:13:44 +01:00
Sheldan
4c988e6c3e [AB-307] refactoring templates for enable and disable feature
adding additional enabled/disabled dependent features to the output of the respective commands
2021-11-28 13:22:08 +01:00
Sheldan
134e2e0360 [AB-343] changing suggestion notification to contain a link button instead of having the link within the text 2021-11-23 19:58:59 +01:00
Sheldan
d5e95babba [AB-170] adding emote stat command for single emote 2021-10-27 00:26:04 +02:00
Sheldan
5f5a7a4fb5 [AB-340] adding timestamp support for serverInfo command 2021-10-26 13:53:34 +02:00
Sheldan
ade134fdaa [maven-release-plugin] prepare for next development iteration 2021-10-25 23:07:05 +02:00
Sheldan
a7f3a902f9 [maven-release-plugin] prepare release templates-1.2.21 2021-10-25 23:06:58 +02:00
Sheldan
ad5dfaefed [AB-339] adjusting templates for softBan to banDelete change 2021-10-25 01:22:29 +02:00
Sheldan
479c100220 [AB-167] adding templates for infraction tracking and post target disabling
adding some missing templates
adding post target disabled state to post target output
2021-10-25 00:06:09 +02:00
Sheldan
cc584d711c [AB-333] refactoring templates to use Discord time stamp formatting 2021-10-14 01:33:29 +02:00
Sheldan
ecb8824614 [AB-334] adding suggestion vote result to suggestion reminder templates 2021-10-13 18:01:39 +02:00
Sheldan
61f3910878 [AB-331] adding templates for the separate vote decision 2021-09-28 22:20:54 +02:00
Sheldan
e53d75dcc8 [AB-332] adding templates for "no warnings" message 2021-09-28 22:04:02 +02:00
Sheldan
93b0bf33ca [AB-196] adding templates for command confirmations 2021-09-27 00:24:42 +02:00
Sheldan
a4aa0ddb6c [AB-319] splitting emotes into two separate fields (animated and static) for server info 2021-09-10 00:41:53 +02:00
Sheldan
8420b32233 [AB-297] adding guild names to invite filter notification (if available) 2021-09-08 23:05:28 +02:00
Sheldan
e19d2f777d [maven-release-plugin] prepare for next development iteration 2021-09-06 01:46:21 +02:00
Sheldan
3f80fabf69 [maven-release-plugin] prepare release templates-1.2.20 2021-09-06 01:46:17 +02:00
Sheldan
a14b6f4d67 [AB-268] adding templates for suggestion button features 2021-09-06 01:43:05 +02:00
Sheldan
19135a7312 [AB-xxx] updating docs response 2021-09-05 20:41:47 +02:00
Sheldan
3f8a0c81db [AB-318] adding reference to original message to embedded message 2021-09-04 16:35:32 +02:00
Sheldan
bace0facee [AB-xxx] fixing profanity report json safety 2021-08-21 16:07:05 +02:00
Sheldan
1d518337c4 [maven-release-plugin] prepare for next development iteration 2021-08-09 23:45:52 +02:00
Sheldan
c00852f2cb [maven-release-plugin] prepare release templates-1.2.19 2021-08-09 23:45:45 +02:00
Sheldan
4e11c09112 [AB-xxx] fixing closing notification message 2021-08-09 23:41:25 +02:00
Sheldan
e6d0688d45 [maven-release-plugin] prepare for next development iteration 2021-07-25 20:23:29 +02:00
Sheldan
772e63684b [maven-release-plugin] prepare release templates-1.2.18 2021-07-25 20:23:19 +02:00
Sheldan
ea43c7b503 [AB-xxx] fixing template for booster assignable role exception 2021-07-22 01:10:26 +02:00
Sheldan
9908d69432 [maven-release-plugin] prepare for next development iteration 2021-07-21 23:27:33 +02:00
Sheldan
3c2dab9ade [maven-release-plugin] prepare release templates-1.2.17 2021-07-21 23:27:25 +02:00
Sheldan
f7d357968a [AB-300] adding template for modmamil channel names 2021-07-21 01:38:31 +02:00
Sheldan
460fb45ca2 [AB-311] adding softban related templates 2021-07-20 02:01:59 +02:00
Sheldan
3682ca980e [AB-308] adding templates required for booster assignable role places 2021-07-18 18:54:20 +02:00
Sheldan
9d6074e25c [maven-release-plugin] prepare for next development iteration 2021-07-14 02:12:26 +02:00
Sheldan
9751e1d09c [maven-release-plugin] prepare release templates-1.2.16 2021-07-14 02:12:16 +02:00
Sheldan
8632a4cf79 [AB-71] adding templates for anti raid module
changing button style in assignable role place to secondary for better contrast
2021-07-14 01:50:16 +02:00
Sheldan
9db7d654d3 [maven-release-plugin] prepare for next development iteration 2021-07-13 00:51:37 +02:00
Sheldan
fc1818ee9b [maven-release-plugin] prepare release templates-1.2.15 2021-07-13 00:51:29 +02:00
Sheldan
1667755310 [AB-64] adding missing maven assembly configuration 2021-07-13 00:35:59 +02:00
OneNormalUsername
04e6854ba5 Improve wording of voice channel context templates (#9) 2021-07-12 01:16:03 +02:00
Sheldan
e0fa208623 [AB-64] adding exception templates for voice channel context feature 2021-07-12 00:55:01 +02:00
Sheldan
7e91083b3a [AB-64] adding templates for voice channel context feature 2021-07-12 00:44:07 +02:00
Sheldan
d09fc1dd54 [AB-302] removing of templates of removed commands and exceptions
adapting some templates for new functionality
2021-07-11 19:10:33 +02:00
OneNormalUsername
bf0aa3baad Various improvements to templates (#8)
- Removes `;closenolog` templates, as the feature doesn't exist anymore
- Fix some inconsistencies and typos

Co-Authored-By: Sheldan <5037282+Sheldan@users.noreply.github.com>

Co-authored-by: Sheldan <5037282+Sheldan@users.noreply.github.com>
2021-07-11 15:02:51 +02:00
OneNormalUsername
ab575257f9 Make note and username bold in modmail log embed (#7)
Reimplementation of b3e4bd6431

Co-Authored-By: Sheldan <5037282+Sheldan@users.noreply.github.com>

Co-authored-by: Sheldan <5037282+Sheldan@users.noreply.github.com>
2021-07-07 22:17:47 +02:00
Sheldan
57b64d80d0 [maven-release-plugin] prepare for next development iteration 2021-07-04 13:29:28 +02:00
994 changed files with 4840 additions and 1590 deletions

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.4.27-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>anti-raid</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>anti-raid-templates-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,15 @@
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>zip</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<outputDirectory>.</outputDirectory>
<directory>${project.basedir}/src/main/resources</directory>
</fileSet>
</fileSets>
</assembly>

View File

@@ -0,0 +1,18 @@
{
"embeds": [
<#include "moderation_action_color">,
<#assign mentionCount=mentionCount/>
<#assign memberMention=memberDisplay.memberMention/>
"description": "<@safe_include "massPing_mute_notification_embed_description"/>",
"fields": [
{
"name": "<@safe_include "massPing_mute_notification_embed_message_content_field_title"/>",
"value": "${messageContent?json_string}"
},
{
"name": "<@safe_include "massPing_mute_notification_embed_message_link_field_title"/>",
"value": "[<@safe_include "massPing_mute_notification_embed_message_link_field_value"/>](${messageLink})"
}
]
]
}

View File

@@ -3,7 +3,7 @@
<parent>
<artifactId>abstracto-modules</artifactId>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<version>1.2.14</version>
<version>1.4.27-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -0,0 +1,2 @@
<#assign minLevel=model.minLevel>
<#include "assignable_role_condition_display_min_level_message">

View File

@@ -1,10 +1,21 @@
{
<#include "assignable_place_color">,
"description": "<@safe_include "assignable_roles_config_embed_place_description"/>
<@safe_include "assignable_roles_config_embed_role_header"/>:
<#list roles as role><#assign role=role/><#assign rolePosition=role.position/><#assign emoteMention=role.emote.emoteRepr/><#assign roleMention><#if role.awardedRole?has_content>${role.awardedRole.asMention}<#else><#include "assignable_roles_config_embed_deleted_role"></#if></#assign><#assign roleDescription=role.description/>
<@safe_include "assignable_roles_config_embed_emote_description"/>
"embeds": [
{
<#include "assignable_place_color">,
"description": "<#assign channelMention><#if channelDisplay??>${channelDisplay.channelMention}<#else><@safe_include "assignable_roles_config_embed_no_channel_found"/></#if></#assign>
<#assign typeDescription><@safe_include "assignable_role_place_type_description_${type}"/></#assign>
<@safe_include "assignable_roles_config_embed_place_description"/>
</#list>
"
<@safe_include "assignable_roles_config_embed_role_header"/>:
<#list roles as role><#assign role=role/>
<#assign emoteMention><#if role.emoteMarkDown??>${role.emoteMarkDown}<#else>No emote</#if></#assign>
<#assign roleMention=role.roleDisplay.roleMention/>
<#assign roleDescription=role.description/>
<#assign conditionText><#list role.conditions as condition><#assign model=condition.templateModel><@safe_include "${condition.templateName}"/><#sep>, <#else><#include "assignable_role_condition_no_conditions"></#list></#assign>
<@safe_include "assignable_roles_config_embed_role_description"/>
<#else><@safe_include "assignable_role_config_embed_no_roles"/></#list>
"
}
]
}

View File

@@ -1,6 +1,10 @@
{
<#include "assignable_place_color">,
"description": "<@safe_include "assignable_role_places_overview_description"/>:
<#list places as place>`<#assign place=place/><#assign placeKey=place.key/><@safe_include "assignable_role_places_overview_place"/>`<#sep>, <#else> <@safe_include "assignable_role_places_overview_no_places"/></#list>
"
"embeds": [
{
<#include "assignable_place_color">,
"description": "<@safe_include "assignable_role_places_overview_description"/>:
<#list places as place>`<#assign place=place/><#assign placeKey=place.placeName/><@safe_include "assignable_role_places_overview_place"/>`<#sep>, <#else> <@safe_include "assignable_role_places_overview_no_places"/></#list>
"
}
]
}

View File

@@ -0,0 +1,3 @@
<#assign minLevel=model.minLevel>
<#assign roleMention=model.roleDisplay.roleMention>
<#include "assignable_role_condition_min_level_message">

View File

@@ -0,0 +1,15 @@
{
"embeds": [
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#assign model=templateModel/>
"description": "<@safe_include "${templateName}"/>"
}
],
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,3 @@
<#assign roleMention=model.roleDisplay.roleMention>
<#assign placeName=model.placeName>
<#include "assignable_role_already_defined_exception_message"/>

View File

@@ -0,0 +1 @@
<#include "assignable_role_booster_place_member_not_boosting_exception_message">

View File

@@ -0,0 +1 @@
<#include "assignable_role_condition_already_present_exception_message">

View File

@@ -0,0 +1 @@
<#include "assignable_role_condition_does_not_exist_exception_message">

View File

@@ -0,0 +1 @@
<#include "assignable_role_condition_value_not_usable_exception_message">

View File

@@ -0,0 +1,2 @@
<#assign roleId=model.roleId>
<#include "assignable_role_not_found_exception_message">

View File

@@ -0,0 +1,2 @@
<#assign roleMention=model.roleDisplay.roleMention>
<#include "assignable_role_not_usable_exception_message">

View File

@@ -1 +1,2 @@
<#assign userId=model.aUserInAServer.userReference.id/><#include "assignable_role_place_assigned_user_not_found_exception_text">
<#assign userId=model.userId>
<#include "assignable_role_place_assigned_user_not_found_exception_message">

View File

@@ -1 +1,3 @@
<#assign channelId=model.channelId/><#include "assignable_role_place_channel_does_not_exist_exception_text">
<#assign channelId=model.channelId>
<#assign placeName=model.placeName>
<#include "assignable_role_place_channel_does_not_exist_exception_message">

View File

@@ -1 +0,0 @@
<#assign emoteMention=model.emote.emoteRepr/><#assign placeName=model.placeName/><#include "assignable_role_place_emote_already_defined_exception_text">

View File

@@ -1 +0,0 @@
<#include "assignable_role_place_emote_not_assigned_exception_text">

View File

@@ -1 +1,2 @@
<#assign roleName=model.name/><#include "assignable_role_place_exists_exception_text">
<#assign placeName=model.name>
<#include "assignable_role_place_exists_exception_message">

View File

@@ -1 +1 @@
<#include "assignable_role_place_illegal_configuration_key_exception_text">
<#include "assignable_role_place_illegal_configuration_key_exception_message">

View File

@@ -0,0 +1 @@
<#include "assignable_role_place_maximum_roles_reached_exception_message">

View File

@@ -1 +1 @@
<#include "assignable_role_place_not_found_exception_text">
<#include "assignable_role_place_not_found_exception_message">

View File

@@ -1 +0,0 @@
<#include "assignable_role_place_position_exists_exception_text">

View File

@@ -1 +0,0 @@
<#assign messageId=model.messageId/><#include "assignable_role_place_post_not_found_exception_text">

View File

@@ -1 +0,0 @@
<#assign roleMention=model.role.roleRepr/><#include "assignable_role_place_role_not_usable_exception_text">

View File

@@ -1 +0,0 @@
<#assign emoteMention=model.emote.emoteRepr/><#assign placeName=model.placeName/><#include "emote_not_in_assignable_role_place_exception_text">

View File

@@ -0,0 +1,21 @@
{
"embeds": [
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#assign roleText=role.asMention>
<#if added>
<#assign removedRolesText>${removedRoles?map(role -> role.asMention)?join(", ")}</#assign>
"description": "<@safe_include "assignable_role_added_success"/>
<#if removedRoles?size gt 0><@safe_include "assignable_role_added_roles_removed"/></#if>"
<#else>
"description": "<@safe_include "assignable_role_removed_success"/>"
</#if>
}
],
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1,17 +1,26 @@
{
<#include "assignable_place_color">,
"description": "${place.text?json_string}",
"fields": [
<#list roles as role>
{
"name": "${role.emote.emoteRepr?json_string}",
"value": "${role.description?json_string}",
"inline": "${place.inline?string('true', 'false')}"
<#if role.forceNewMessage>
,"forceNewMessage": "true"
</#if>
}<#sep>,
<#else>
</#list>
]
"embeds": [
{
<#include "assignable_place_color">,
"description": "${placeDescription?json_string}"
}
]
<#if roles?size gt 0>
,"buttons": [
<#list roles as role>
{
"label": "${role.description?json_string}",
"id": "${role.componentId}",
"buttonStyle": "secondary",
<#if role.emoteMarkDown??>
"emoteMarkdown": "${role.emoteMarkDown?json_string}",
</#if>
"metaConfig": {
"persistCallback": false
}
}
<#sep>,
</#list>
]
</#if>
}

View File

@@ -4,13 +4,13 @@
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.2.14</version>
<version>1.4.27-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<artifactId>core</artifactId>
<version>1.2.14</version>
<version>1.4.27-SNAPSHOT</version>
<build>
<plugins>

View File

@@ -0,0 +1 @@
<#macro default_template_if_null value="" template_key=""><#if value?has_content>${value}<#else><#include "${template_key}"></#if></#macro>

View File

@@ -0,0 +1,8 @@
<#macro format_instant instant><t:${instant.epochSecond?c}></#macro>
<#macro format_instant_time instant><t:${instant.epochSecond?c}:t></#macro>
<#macro format_instant_long_time instant><t:${instant.epochSecond?c}:T></#macro>
<#macro format_instant_date instant><t:${instant.epochSecond?c}:d></#macro>
<#macro format_instant_long_date instant><t:${instant.epochSecond?c}:D></#macro>
<#macro format_instant_date_time instant><t:${instant.epochSecond?c}:f></#macro>
<#macro format_instant_long_date_time instant><t:${instant.epochSecond?c}:F></#macro>
<#macro format_instant_relative instant><t:${instant.epochSecond?c}:R></#macro>

View File

@@ -1 +1,4 @@
<#include "member_avatar">
<#macro member_author member> "author": { "name": "<@member_user_name member=member/>", "avatar": "${member.user.effectiveAvatarUrl}" }</#macro>
<#macro member_display_author member> "author": { "name": "<@member_display_member_name member=member/>", "avatar": "<@member_display_avatar member=member/>" }</#macro>
<#macro member_display_user_author member> "author": { "name": "<@member_display_user_name member=member/>", "avatar": "<@member_display_user_avatar member=member/>" }</#macro>

View File

@@ -0,0 +1,2 @@
<#macro member_display_avatar member><#if member.memberAvatarUrl?has_content>${member.memberAvatarUrl?json_string}<#else>${member.userAvatarUrl?json_string}</#if></#macro>
<#macro member_display_user_avatar member>${member.userAvatarUrl?json_string}</#macro>

View File

@@ -1 +1,4 @@
<#macro member_user_name member>${member.effectiveName?json_string}#${member.user.discriminator}</#macro>
<#macro member_user_name member>${member.effectiveName?json_string}<#if member.user.discriminator?number gt 0>#${member.user.discriminator}</#if></#macro>
<#macro member_member_name member><#if member.effectiveName?has_content>${member.effectiveName?json_string}<#else>${member.user.name?json_string}</#if><#if member.user.discriminator?number gt 0>#${member.user.discriminator}</#if></#macro>
<#macro member_display_member_name member><#if member.nickname?has_content>${member.nickname?json_string}<#else>${member.userName?json_string}</#if></#macro>
<#macro member_display_user_name member>${member.userName?json_string}<#if member.discriminator?number gt 0>#${member.discriminator}</#if></#macro>

View File

@@ -1 +1 @@
<#macro user_detail user>${user.name?json_string}#${user.discriminator} (${user.idLong?c})</#macro>
<#macro user_detail user>${user.name?json_string}<#if user.discriminator?number gt 0>#${user.discriminator}</#if> (${user.idLong?c})</#macro>

View File

@@ -1 +1 @@
<#macro user_user_name user>${user.name?json_string}#${user.discriminator}</#macro>
<#macro user_user_name user>${user.name?json_string}<#if user.discriminator?number gt 0>#${user.discriminator}</#if></#macro>

View File

@@ -0,0 +1,14 @@
{
"embeds": [
{
<#include "abstracto_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
"description": "<@safe_include "command_aborted_notification_text"/>"
}
],
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,27 @@
{
"embeds": [
{
<#include "abstracto_color">,
<#assign text><#include "${commandName}_confirmation"></#assign>
"description": "${text?json_string}"
}
],
"buttons": [
{
"label": "<@safe_include "command_confirmation_message_confirm_field_title"/>",
"id": "${confirmButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "command_confirmation_message_abort_field_title"/>",
"id": "${abortButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "addProfanityRegex_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "addToChannelGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "clearCache_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "createChannelGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "createProfanityGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "deleteChannelGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "deleteProfanityGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "disableChannelGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<#assign featureString>${features?join(", ")}</#assign><#include "disableFeature_feature_dependencies_text">"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "disableFeature_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1 +0,0 @@
<#assign featureString>${features?join(", ")}</#assign><#include "disable_available_features">

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "disableMode_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "disablePosttarget_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1,4 +1,8 @@
{
<#include "abstracto_color">,
"description": "<@safe_include "documentation_response_embed_description"/>"
"embeds": [
{
<#include "abstracto_color">,
"description": "<@safe_include "documentation_response_embed_description"/>"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "echo_redirect_response"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "enableChannelGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,9 @@
{
"embeds": [
{
<#include "abstracto_color">,
"description": "<#assign featureString>${features?join(", ")}</#assign><#include "enableFeature_feature_dependencies_text"><#if validationText?has_content>
${validationText}</#if>"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "enableFeature_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1 +0,0 @@
<#assign featureString>${features?join(", ")}</#assign><#include "enable_available_features">

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "enableMode_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "enablePosttarget_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1,9 +1,11 @@
{
"title": {
"title": "<@safe_include "feature_modes_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
"embeds": [
{
"title": {
"title": "<@safe_include "feature_modes_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<#list featureModes as featureMode>
<#assign featureName><@safe_include "feature_${featureMode.featureConfig.feature.key}"/></#assign>
<#assign featureKey=featureMode.featureConfig.feature.key>
@@ -15,4 +17,6 @@
<#else><@safe_include "feature_modes_embed_no_feature_modes_available"/></#list>
"
}
]
}

View File

@@ -1,9 +1,11 @@
{
"title": {
"title": "<@safe_include "features_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
"embeds": [
{
"title": {
"title": "<@safe_include "features_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<#list features as feature>
${feature.featureFlag.enabled?string('✅', '❌')} **<@safe_include "feature_${feature.featureConfig.feature.key}"/>** <@safe_include "features_embed_key"/>: `${feature.featureConfig.feature.key}`
</#list>
@@ -11,4 +13,6 @@ ${feature.featureFlag.enabled?string('✅', '❌')} **<@safe_include "feature_${
${defaultFeature.featureFlagProperty.enabled?string('✅', '❌')} **<@safe_include "feature_${defaultFeature.featureConfig.feature.key}"/>** <@safe_include "features_embed_key"/>: `${defaultFeature.featureConfig.feature.key}` (<@safe_include "features_default_marker"/>)
</#list>
"
}
]
}

View File

@@ -1,3 +0,0 @@
<#assign templateKey=templateKey>
<#assign serverId=guild.id>
<#include "getCustomTemplate_file_name_text">

View File

@@ -1,4 +1,10 @@
{
<#assign templateKey=templateKey>
"additionalMessage": "<@safe_include "getCustomTemplate_response_embed_text"/>"
"additionalMessage": "<@safe_include "getCustomTemplate_response_embed_text"/>",
"files": [
{
"fileName": "${templateKey}.ftl",
"fileContent": "${templateContent?json_string}"
}
]
}

View File

@@ -1,4 +1,10 @@
{
<#assign templateKey=templateKey>
"additionalMessage": "<@safe_include "getTemplate_response_embed_text"/>"
"additionalMessage": "<@safe_include "getTemplate_response_embed_text"/>",
"files": [
{
"fileName": "${templateKey}.ftl",
"fileContent": "${templateContent?json_string}"
}
]
}

View File

@@ -1,29 +1,41 @@
{
"title": {
"title": "<@safe_include "help_command_embed_title"/>"
},
<#include "abstracto_color">,
"description": "<@safe_include "help_command_embed_command_name"/>: **${command.name?json_string}**
"embeds": [
{
"title": {
"title": "<@safe_include "help_command_embed_title"/>"
},
<#include "abstracto_color">,
"description": "<@safe_include "help_command_embed_command_name"/>: **${command.name?json_string}**
<@safe_include "help_command_embed_command_description"/>: <#if command.templated> <@safe_include "${command.name}_description"/> <#else> ${command.description?json_string} </#if>
<#if command.help??>
<#if command.help.templated>
<#if command.slashCommandOnly><@safe_include "help_command_embed_command_slash_command_only"/></#if>
<#if command.messageCommandOnly><@safe_include "help_command_embed_command_message_command_only"/></#if>
<#if !command.slashCommandOnly>
**<@safe_include "help_command_embed_command_usage"/>**: `${usage}`
</#if>
**<@safe_include "help_command_embed_command_detailed_help"/>**: <@safe_include "${command.name}_long_help"/>
<#if command.help.hasExample>
<#if command.help.hasExample && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_example"/>: <@safe_include "${command.name}_example"/>
</#if>
<#else>
<#if command.slashCommandOnly><@safe_include "help_command_embed_command_slash_command_only"/></#if>
<#if command.messageCommandOnly><@safe_include "help_command_embed_command_message_command_only"/></#if>
<#if !command.slashCommandOnly>
**<@safe_include "help_command_embed_command_usage"/>**: `${usage}`
</#if>
**<@safe_include "help_command_embed_command_detailed_help"/>**: ${command.help.longHelp?json_string}
<#if command.help.hasExample>
<#if command.help.hasExample && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_example"/>:${command.help.example?json_string}
</#if>
</#if>
<#if command.aliases?? && command.aliases?size gt 0>
<#if command.aliases?? && command.aliases?size gt 0 && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_aliases"/>: `${command.aliases?join("`, `")?json_string}`
</#if>
<#if serverSpecificAliases?size gt 0>
<#if serverSpecificAliases?size gt 0 && !command.slashCommandOnly>
<@safe_include "help_command_embed_command_server_aliases"/>: `${serverSpecificAliases?join("`, `")?json_string}`
</#if>
<#if cooldowns??>
@@ -67,5 +79,7 @@
<#else>
<@safe_include "help_command_embed_command_no_parameters"/>
</#if>
"
"
}
]
}

View File

@@ -1,19 +1,23 @@
{
"title": {
<#assign name=module.moduleDefinition.info.name/>
"title": "<@safe_include "help_module_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<@safe_include "help_module_embed_module_name"/>: **${name?json_string}**
<@safe_include "help_module_embed_module_description"/>: <#if module.moduleDefinition.info.templated?? && module.moduleDefinition.info.templated><@safe_include "module_${name}_description"/><#else>${module.moduleDefinition.info.description?json_string}</#if>
<@safe_include "help_module_embed_commands"/>:
<#list module.commands as command>`${command.configuration.name?json_string}`<#sep>, <#else><@safe_include "help_module_no_commands_available"/></#list>
<#if subModules?has_content && subModules?size gt 0>
<@safe_include "help_module_embed_sub_modules"/>: <#list subModules as module>`${module.info.name?json_string}`<#sep>, </#list>
</#if>
",
"footer": {
"text": "<@safe_include "help_command_embed_hint_footer"/>"
}
"embeds": [
{
"title": {
<#assign name=module.moduleDefinition.info.name/>
"title": "<@safe_include "help_module_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<@safe_include "help_module_embed_module_name"/>: **${name?json_string}**
<@safe_include "help_module_embed_module_description"/>: <#if module.moduleDefinition.info.templated?? && module.moduleDefinition.info.templated><@safe_include "module_${name}_description"/><#else>${module.moduleDefinition.info.description?json_string}</#if>
<@safe_include "help_module_embed_commands"/>:
<#list module.commands as command>`${command.configuration.name?json_string}`<#sep>, <#else><@safe_include "help_module_no_commands_available"/></#list>
<#if subModules?has_content && subModules?size gt 0>
<@safe_include "help_module_embed_sub_modules"/>: <#list subModules as module>`${module.info.name?json_string}`<#sep>, </#list>
</#if>
",
"footer": {
"text": "<@safe_include "help_command_embed_hint_footer"/>"
}
}
]
}

View File

@@ -1,15 +1,19 @@
{
"title": {
"title": "<@safe_include "help_modules_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<#list modules as module><#assign module=module/>
**${module.info.name?json_string}**
<#if module.info.templated?? && module.info.templated><@safe_include "module_${module.info.name}_description"/><#else>${module.info.description?json_string}</#if>
</#list>
",
"footer": {
"text": "<@safe_include "help_modules_embed_footer_hint"/>"
}
"embeds": [
{
"title": {
"title": "<@safe_include "help_modules_embed_title"/>"
},
<#include "abstracto_color">,
"description": "
<#list modules as module><#assign module=module/>
**${module.info.name?json_string}**
<#if module.info.templated?? && module.info.templated><@safe_include "module_${module.info.name}_description"/><#else>${module.info.description?json_string}</#if>
</#list>
",
"footer": {
"text": "<@safe_include "help_modules_embed_footer_hint"/>"
}
}
]
}

View File

@@ -1,20 +1,25 @@
{
"title": {
"title": "<@safe_include "listChannelGroups_embed_title"/>"
},
<#include "success_color">,
<#if groups?size = 0>
"description": "<@safe_include "listChannelGroups_no_channel_group"/>",
</#if>
"fields": [
<#list groups as group>
"embeds": [
{
"name": "${group.name?json_string} (<@safe_include "channel_group_type_${group.typeKey}_name"/> ${group.enabled?string('✅', '❌')})",
"value": "
<#if group.channelGroupInformation??><#assign model=group.channelGroupInformation.templateModel/> <@safe_include "${group.channelGroupInformation.templateName}"/></#if>
<#list group.channels as channel><#if channel.discordChannel??>${channel.discordChannel.asMention?json_string}<#else>${channel.channel.id?c}</#if><#sep>,<#else> <@safe_include "listChannelGroups_no_channels"/></#list>
"
}<#sep>,
</#list>
]
"title": {
"title": "<@safe_include "listChannelGroups_embed_title"/>"
},
<#include "success_color">,
<#if groups?size = 0>
"description": "<@safe_include "listChannelGroups_no_channel_group"/>"
<#else>
"fields": [
<#list groups as group>
{
"name": "${group.name?json_string} (<@safe_include "channel_group_type_${group.typeKey}_name"/> ${group.enabled?string('✅', '❌')})",
"value": "
<#if group.channelGroupInformation??><#assign model=group.channelGroupInformation.templateModel/> <@safe_include "${group.channelGroupInformation.templateName}"/></#if>
<#list group.channels as channel><#if channel.discordChannel??>${channel.discordChannel.asMention?json_string}<#else>${channel.channel.id?c}</#if><#sep>,<#else> <@safe_include "listChannelGroups_no_channels"/></#list>
"
}<#sep>,
</#list>
]
</#if>
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "makeAffected_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "makeImmune_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "posttarget_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1,11 +1,14 @@
{
"title": {
"title": "<@safe_include "posttarget_embed_title"/>"
},
<#include "success_color">,
"description": "
"embeds": [
{
"title": {
"title": "<@safe_include "posttarget_embed_title"/>"
},
<#include "success_color">,
"description": "
<#list postTargets as postTarget><#assign postTarget=postTarget/>
<#assign postTargetName>${postTarget.postTarget.name?json_string}</#assign>
<#assign statusIndicator>${postTarget.disabled?string('❌', '✅')}</#assign>
<#assign channelMention><#if postTarget.channel?has_content>${postTarget.channel.asMention?json_string}<#else><@safe_include "posttarget_no_channel"/></#if></#assign>
<@safe_include "posttarget_post_target_text"/>
@@ -13,4 +16,6 @@
<@safe_include "posttarget_no_post_targets_found"/>
</#list>
"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "removeCommandMemberCooldown_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "removeFromChannelGroup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "removeProfanityRegex_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "resetConfig_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "resetTemplate_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "setCommandMemberCooldown_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "setConfig_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "setEmote_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "setTemplate_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -1 +1 @@
<#assign featureName><#include "feature_${featureConfig.feature.key}"></#assign><#include "feature_setup_cancellation_message">
<#assign featureName><#include "feature_${featureKey}"></#assign><#include "feature_setup_cancellation_message">

View File

@@ -1 +1 @@
<#assign featureName><#include "feature_${featureConfig.feature.key}"></#assign><#include "feature_setup_completion_message">
<#assign featureName><#include "feature_${featureKey}"></#assign><#include "feature_setup_completion_message">

View File

@@ -0,0 +1,30 @@
{
"embeds": [
{
"description": "<#list actionConfigs as actionConfig><#assign actionConfig=actionConfig/>
<#assign param=actionConfig.object.templateModel>
<@safe_include "${actionConfig.object .templateName}"/>
</#list>
"
}
],
"buttons": [
{
"label": "<@safe_include "feature_setup_confirmation_confirm_button_title"/>",
"id": "${confirmButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "feature_setup_confirmation_cancel_button_title"/>",
"id": "${cancelButtonId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}
]
}

View File

@@ -1,5 +0,0 @@
<#list actionConfigs as actionConfig><#assign actionConfig=actionConfig/>
<#assign param=actionConfig.templateModel>
<@safe_include "${actionConfig.templateName}"/>
</#list>

View File

@@ -1 +1 @@
<#assign postTargetKey>${param.postTargetKey}</#assign><#assign channel>${param.channel.asMention}</#assign><@safe_include "feature_setup_post_target_action_display"/>
<#assign postTargetKey>${param.postTargetKey}</#assign><#assign channel>${param.channelAsMention}</#assign><@safe_include "feature_setup_post_target_action_display"/>

View File

@@ -1,8 +1,13 @@
{
<#include "abstracto_color">,
"description": "
"embeds": [
{
<#include "abstracto_color">,
"description": "
<#list effects as effect>
`${effect}` <@safe_include "effect_type_${effect}_description"/>
<#else><#include "showEffects_response_no_effects">
</#list>
"
}
]
}

View File

@@ -1,6 +1,8 @@
{
<#include "success_color">,
"description": "
"embeds": [
{
<#include "success_color">,
"description": "
<#list profanityGroups as profanityGroup><#assign profanityGroup=profanityGroup/>
<#assign profanityGroupName>${profanityGroup.groupName?json_string}</#assign>
<@safe_include "showProfanityConfig_group_description"/>
@@ -16,4 +18,6 @@
<@safe_include "showProfanityConfig_no_profanity_groups"/>
</#list>
"
}
]
}

View File

@@ -1,9 +1,13 @@
{
<#include "abstracto_color">,
<#assign uptime>${fmtDuration(uptime)}</#assign>
"description": "${uptime}",
"footer": {
"text": "<@safe_include "uptime_response_embed_start_date_field_title"/>"
},
"timeStamp": "${startDate}"
"embeds": [
{
<#include "abstracto_color">,
<#assign uptime>${fmtDuration(uptime)}</#assign>
"description": "${uptime}",
"footer": {
"text": "<@safe_include "uptime_response_embed_start_date_field_title"/>"
},
"timeStamp": "${startDate}"
}
]
}

View File

@@ -1,3 +1,4 @@
<#assign executeIn>${fmtDuration(model.reason.executeIn)}</#assign>
<#include "format_instant">
<#assign executeIn><@format_instant_relative instant=model.reason.executeAt/></#assign>
<#assign reason>${model.reason.reason}</#assign>
<#include "command_cool_down_detail_text">

View File

@@ -1,10 +1,14 @@
{
<#include "member_author">
<@member_author member=guildChannelMember.member/>,
<#include "warning_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#assign model=conditionDetail.templateModel/>
"description": "<@safe_include "${conditionDetail.templateName}"/>"
"embeds": [
{
<#include "member_author">
<@member_author member=guildChannelMember.member/>,
<#include "warning_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#assign model=conditionDetail.templateModel/>
"description": "<@safe_include "${conditionDetail.templateName}"/>"
}
]
}

View File

@@ -1,26 +1,31 @@
<#include "user_user_name">
{
<#include "member_author">
<#if user?has_content>
<@member_author member=user.member/>,
<#else>
"author":
{
"name": "${fullUser.user.name?json_string}#${fullUser.user.discriminator}",
"avatar": "${fullUser.user.effectiveAvatarUrl}"
},
</#if>
<#include "exception_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#if template?has_content>
<#if template.templateModel?has_content>
<#assign model=template.templateModel/>
"description": "<@safe_include "${template.templateName}"/>"
</#if>
<#elseif throwable.localizedMessage?has_content>
"description": "${throwable.localizedMessage?json_string}"
<#else>
"description": "${throwable.class.simpleName?json_string}"
</#if>
"embeds": [
{
<#include "member_author">
<#if user?has_content>
<@member_author member=user.member/>,
<#else>
"author":
{
"name": "<@user_user_name user=fullUser.user/>",
"avatar": "${fullUser.user.effectiveAvatarUrl}"
},
</#if>
<#include "exception_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#if template?has_content>
<#if template.templateModel?has_content>
<#assign model=template.templateModel/>
"description": "<@safe_include "${template.templateName}"/>"
</#if>
<#elseif throwable.localizedMessage?has_content>
"description": "${throwable.localizedMessage?json_string}"
<#else>
"description": "${throwable.class.simpleName?json_string}"
</#if>
}
]
}

View File

@@ -1,20 +1,25 @@
{
<#include "member_author">
<@member_author member=member/>,
<#include "exception_color">,
"metaConfig" : {
"preventEmptyEmbed": "true",
"ephemeral": true
},
<#assign effectiveTemplate=template>
<#if effectiveTemplate?has_content>
<#if effectiveTemplate.templateModel?has_content>
<#assign model=effectiveTemplate.templateModel/>
"description": "<@safe_include "${effectiveTemplate.templateName}"/>"
</#if>
<#elseif throwable.localizedMessage?has_content>
"description": "${throwable.localizedMessage?json_string}"
<#else>
"description": "${throwable.class.simpleName?json_string}"
</#if>
"embeds": [
{
<#include "member_author">
<@member_author member=member/>,
<#include "exception_color">,
"metaConfig" : {
"preventEmptyEmbed": "true"
},
<#if template?has_content>
<#if template.templateModel?has_content>
<#assign model=template.templateModel/>
"description": "<@safe_include "${template.templateName}"/>"
</#if>
<#elseif throwable.localizedMessage?has_content>
"description": "${throwable.localizedMessage?json_string}"
<#else>
"description": "${throwable.class.simpleName?json_string}"
</#if>
}
],
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,2 @@
<#assign postTargetKey=model.postTargetKey>
<#include "post_target_not_usable_exception_text">

View File

@@ -0,0 +1,2 @@
<#assign parameterName=model.parameterName>
<#include "slash_command_parameter_missing_exception_text">

View File

@@ -0,0 +1,60 @@
{
"label": "<@safe_include "paginator_exit_button_label"/>",
"id": "${exitButtonId}",
"buttonStyle": "secondary",
"emoteMarkdown": "⏹️",
"metaConfig": {
"persistCallback": false
}
}
<#if !exitOnly>
,
{
"label": "<@safe_include "paginator_start_button_label"/>",
"id": "${startButtonId}",
"buttonStyle": "secondary",
<#if counter = 0>
"disabled": true,
</#if>
"emoteMarkdown": "⏮",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "paginator_previous_button_label"/>",
"id": "${previousButtonId}",
"buttonStyle": "secondary",
<#if counter = 0>
"disabled": true,
</#if>
"emoteMarkdown": "◀️",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "paginator_next_button_label"/>",
"id": "${nextButtonId}",
"buttonStyle": "secondary",
<#if counter = chunks?size -1>
"disabled": true,
</#if>
"emoteMarkdown": "▶",
"metaConfig": {
"persistCallback": false
}
},
{
"label": "<@safe_include "paginator_last_button_label"/>",
"id": "${lastButtonId}",
"buttonStyle": "secondary",
<#if counter = chunks?size -1>
"disabled": true,
</#if>
"emoteMarkdown": "⏭",
"metaConfig": {
"persistCallback": false
}
}
</#if>

View File

@@ -0,0 +1,3 @@
<#assign page=page>
<#assign pageCount=pageCount>
<#include "paginator_footer_text">

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>dev.sheldan.abstracto-templates.templates</groupId>
<artifactId>abstracto-modules</artifactId>
<version>1.4.27-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>custom-command</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>custom-command-templates-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

Some files were not shown because too many files have changed in this diff Show More