1
0
mirror of https://github.com/sciwhiz12/Janitor.git synced 2024-11-10 02:21:25 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
d18a0010cc
Refactor reaction messages to allow full control of when to send the message 2020-11-30 14:01:41 +08:00
66ab6b7005
Fix fields for moderation/note/add 2020-11-30 13:27:15 +08:00
cce35cea6e
Complicate and simplify syntax for fields 2020-11-30 12:53:27 +08:00
0ff0f26811
Allow arrays and objects in certain text fields in messages 2020-11-30 11:23:25 +08:00
eebb101603
Add about command, add friendly names to ModuleKey 2020-11-28 17:35:24 +08:00
d214af3eca
Add commands listing command (!command) 2020-11-28 07:52:33 +08:00
199b40b160
Majorly refactor project structure
* Split project into two subprojects, for core and moderation
 * Move to modular system using Java's ServiceLoader
 * Improve messages system to allow message definitions in modules
 * Adjust some messages for brevity
2020-11-23 11:13:09 +08:00
42adb8238c
Refactor, remove translations, add guild config system 2020-11-23 11:12:26 +08:00
df831da94d
Force UTF-8 encoding when compiling 2020-11-18 01:18:30 +08:00
672d8d048c
Move README to repo root 2020-10-17 11:29:44 +08:00
5a84199954
Fix main class entry 2020-10-16 18:45:34 +08:00
0855569ad3
Merge in better_messages, reformat code, remove .idea folder 2020-10-16 18:23:04 +08:00
09aa6a269c
Add listing messages 2020-10-16 18:12:50 +08:00
631acaf021
Introduce StorageKey to remove unchecked cast in GuildStorage, force Java 11 2020-10-16 01:32:45 +08:00
f861308e4d
Forgot to commit two files 2020-10-10 16:53:40 +08:00
46eff3358e
Externalize messages to JSONs
For ref.: bot console has "reload messages" command to reload the messages from disk
2020-10-10 16:53:05 +08:00
44a55d3962
Move from GSON to Jackson, cleanup code warnings, move to javax.annotation annotations 2020-10-09 15:21:12 +08:00
8e972ba96a
Improve messages system (WIP)
Now uses a builder format, and allows for substitutions in the translation keys
(WIP) the Listing commands are unimplemented yet.

This is in preparation for moving to JSON-based messages in the future
2020-10-06 14:57:14 +08:00
eb50a1bab3
Fix fatal recursion error 2020-10-02 07:33:13 +08:00
25bb970766
Move message inner classes to package classes, reorganize message embeds 2020-10-01 09:09:19 +08:00
99ca3b101a
Add notes system and commands 2020-10-01 08:14:56 +08:00
934fbeb2f4
Improve and add more config options, add reload command to console 2020-10-01 05:33:38 +08:00
cbf57fb585
Rework config system to use a config spec 2020-10-01 03:08:48 +08:00
412c499cfc
Add warnings system and commands, and per-guild storage 2020-10-01 00:53:08 +08:00
8f9601a9c7
Add timestamps to messages, fix unban cmd's ambiguous members message not sending 2020-09-30 08:13:31 +08:00
805ae844ed
Add ban and unban commands 2020-09-30 07:25:12 +08:00
48f0aeb5b1
Prevent kick command from working on performer and on the bot 2020-09-30 06:17:12 +08:00
e0e0cb448a
Add user mention to messages, add Sent DM field 2020-09-30 06:00:13 +08:00
3c13b559e3
Externalize translation strings 2020-09-30 04:50:38 +08:00
b02f38c70f
Add informative DM when being kicked 2020-09-29 21:04:06 +08:00
38b7ac9a26
Add kick command and helpful messages 2020-09-29 05:12:27 +08:00
bb483c7489
Change from UserArgument to GuildMemberArgument 2020-09-29 03:02:09 +08:00
888309063c
Move to JDA 2020-09-18 03:05:56 +08:00
fb10a70891
Add snowflake ids to user argument 2020-09-15 01:27:00 +08:00
7f91f78a90
Allow non-nicknamed mentioned users for user argument 2020-09-15 00:58:32 +08:00
29b109fcf6
Fix bot console 2020-09-14 23:03:30 +08:00
62c1bbd13d
Add greeting command, and basic user argument 2020-09-14 22:57:43 +08:00
a92cdb48b5
Move to javacord 2020-09-09 01:23:28 +08:00
eff4beb049
Add forgotten change, whoops 2020-09-03 02:45:26 +08:00
de696c0e12
Move to using Brigadier for bot commands
Brigadier is a command parsing and execution library made by Mojang for their game Minecraft. Licensed under MIT license.
2020-09-03 02:43:37 +08:00
6f901aab26
Add pong command 2020-09-02 19:18:20 +08:00
e8c09c1a85
Add command line console 2020-09-02 19:08:22 +08:00
c633802786
Use Java 11 when building on GitHub actions 2020-09-02 06:20:27 +08:00
da4abc6309
Overhaul bot to be more extendible 2020-09-02 06:16:49 +08:00
1f2668458a
Add shutdown command 2020-09-01 16:57:22 +08:00
079d1d37e7
Fix build.gradle 2020-09-01 14:59:25 +08:00
f1d77e11db
Add basic command system 2020-09-01 04:27:48 +08:00
52210ff999
Initial commit 2020-09-01 02:15:21 +08:00