66 Commits

Author SHA1 Message Date
1617540e0a
Integrated the controller into the ChatCommand & the GroupCommand 2021-10-02 20:17:32 +02:00
79378c2b47
Renamed CommandData to CommandData & integrated the reply function 2021-10-02 20:17:08 +02:00
45272ceca4
Updated ResponderGroupCommand#execute 2021-10-02 20:16:36 +02:00
f4fa5084d9
Updated ResponderChatCommand#execute 2021-10-02 20:16:19 +02:00
9e26c15f7d
Removed the ChatAnswerController.java & the GroupAnswerController.java 2021-10-02 20:15:52 +02:00
154ad3150d
Moved ResponderEvent#reply to HttpResponseController#reply 2021-10-02 19:40:51 +02:00
37b4000da3
Reformatted the ResponderContext 2021-10-02 18:43:01 +02:00
ec96f7f860
Reformatted the ResponderContext 2021-10-02 18:42:44 +02:00
8f719cec41
Added the commands variable to the SimpleAutoResponder to register & get commands 2021-10-02 18:38:43 +02:00
cde48b5480
Changed the parameter type in the ResponderChatCommand & the ResponderGroupCommand 2021-10-02 18:38:05 +02:00
1fc4bdf9b6
Created the ChatAnswerController 2021-10-02 18:36:43 +02:00
abc2b4f389
Renamed AnswerController.java to GroupAnswerController 2021-10-02 18:36:18 +02:00
51e7a429cb
Changed the return type of SimpleAutoResponder#setPrefix 2021-10-02 18:32:43 +02:00
a7f81e8dd2
Integrated SimpleAutoResponder#prefix (also SimpleAutoResponder#getPrefix & SimpleAutoResponder#setPrefix) 2021-10-02 18:32:09 +02:00
09bdf731f2
Integrated the ResponderContext#sendNotFoundReply to send messages that could not be identified 2021-10-02 17:58:15 +02:00
f754b87b73
Created the RandomErrorHandler to send randomized error messages from a list to the author if the message could not be found 2021-10-02 17:41:50 +02:00
ab0da5e43d
Integrated the NotFoundHandler into the SimpleAutoResponder 2021-10-02 17:32:24 +02:00
ec11772115
Created the SendNothingHandler. It sends no message if the message could not be found 2021-10-02 17:27:50 +02:00
d94480bb4e
Created the SendErrorHandler. Useful to send custom error messages to the user whenever the message could not be found 2021-10-02 17:27:11 +02:00
aca8c36dfd
Created the DialogflowHandler. Useful to redirect not found messages to dialogflow 2021-10-02 17:24:21 +02:00
d1dd4a5ab8
Created the NotFoundHandler to handle messages that could not be replied (for example not finished listeners) 2021-10-02 17:22:12 +02:00
3aca2239f2
Added the responseSent variable to the HttpResponseController to check if the response has already been sent to prevent errors 2021-10-02 17:11:28 +02:00
0064a65c6d
Created the DialogflowIntegration to get messages directly from the dialogflow api 2021-10-02 17:09:10 +02:00
b172d8a9c3
Added the dialogflow dependency to the pom.xml 2021-10-02 17:07:03 +02:00
9fb6381d77
Created the execute method in the ResponderGroupCommand 2021-10-02 01:45:43 +02:00
51652a2e2e
Created the execute method in the ResponderChatCommand 2021-10-02 01:45:35 +02:00
6c478d6834
Created the AnswerController 2021-10-02 01:45:12 +02:00
47782529a7
Added comments in the ResponderCommand 2021-10-02 01:38:15 +02:00
0ffd6ad58c
Created the SimpleUsageBuilder to build a custom usage 2021-10-02 01:36:54 +02:00
6d2947b527
Created the UsageElement object 2021-10-02 01:36:09 +02:00
02bd3bd75e
Created the UsageType enum 2021-10-02 01:29:27 +02:00
a3cf1f4017
Created the ResponderCommand 2021-10-02 01:29:12 +02:00
2a2120690b
Changed aliases to triggers in CommandInfo 2021-10-02 01:05:20 +02:00
6273615273
Created the CommandInfo with basic information 2021-10-02 01:04:49 +02:00
d1609478e4
SimpleAutoResponder#registerListener now returns itself 2021-10-02 00:59:59 +02:00
4f3aa469bd
Created the GroupCommandData entity 2021-10-02 00:57:14 +02:00
9cd11d04b9
Created the ChatCommandData entity 2021-10-02 00:57:02 +02:00
bb818d057f
Created the CommandData entity 2021-10-02 00:56:49 +02:00
6085e29b75
Added SimpleAutoResponder#registerListener 2021-10-02 00:48:19 +02:00
efd0bdc6a6
Updated the access modifier of SimpleAutoResponder#registerContext 2021-10-02 00:42:17 +02:00
52899f5c60
Integrated the reply method into the ResponderEvent 2021-10-02 00:18:56 +02:00
3155f54a6a
Integrated the responder context into the SimpleAutoResponder 2021-10-02 00:18:32 +02:00
4f3e503860
Created the ResponderContext 2021-10-02 00:16:59 +02:00
28fb627491
Created the HttpResponseController 2021-10-01 23:51:09 +02:00
8d2722e7bb
Created the Response object 2021-10-01 23:48:16 +02:00
be3e36de89
Created the SimpleHttpHandler 2021-10-01 23:47:49 +02:00
f2d0d85e90
Created the GroupMessageReceivedEvent 2021-10-01 23:45:21 +02:00
11cb02e408
Created the ChatMessageReceivedEvent 2021-10-01 23:45:07 +02:00
b6dd6636ab
Integrated the HttpResponseController into the ResponderEvent 2021-10-01 23:44:38 +02:00
7ad7d0f538
Made EventManager#register private 2021-10-01 23:34:13 +02:00