mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-28 08:38:52 +00:00
added closesilently command for modmail
largely refactored modmail future handling and error handling in case: no permission, unable to contact user fixed help command template
This commit is contained in:
@@ -17,5 +17,5 @@ public interface ModMailThreadService {
|
||||
void createModMailPrompt(AUser user, MessageChannel messageChannel);
|
||||
void relayMessageToModMailThread(ModMailThread modMailThread, Message message);
|
||||
void relayMessageToDm(ModMailThread modMailThread, String text, Message message, Boolean anonymous, MessageChannel feedBack);
|
||||
void closeModMailThread(ModMailThread modMailThread, MessageChannel feedBack, String note);
|
||||
void closeModMailThread(ModMailThread modMailThread, MessageChannel feedBack, String note, Boolean notifyUser);
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ import java.util.List;
|
||||
|
||||
public interface ModMailThreadManagementService {
|
||||
ModMailThread getByChannelId(Long channelId);
|
||||
ModMailThread getById(Long modMailThreadId);
|
||||
ModMailThread getByChannel(AChannel channel);
|
||||
List<ModMailThread> getThreadByUserAndState(AUserInAServer userInAServer, ModMailThreadState state);
|
||||
ModMailThread getOpenModmailThreadForUser(AUserInAServer userInAServer);
|
||||
|
||||
Reference in New Issue
Block a user