[AB-80] added tracking of emotes used by server members and configuration

updated sonar scanner version
changed some commands to be silent instead of adding a check reaction
This commit is contained in:
Sheldan
2020-11-11 17:11:30 +01:00
parent c60cdb9d98
commit 04f1db2408
202 changed files with 7989 additions and 131 deletions

View File

@@ -5,6 +5,7 @@ import lombok.Getter;
import lombok.Setter;
import net.dv8tion.jda.api.entities.MessageEmbed;
import java.io.File;
import java.util.List;
/**
@@ -22,4 +23,12 @@ public class MessageToSend {
* The string content to be used in the first message.
*/
private String message;
/**
* The file handle to send attached to the message.
*/
private File fileToSend;
public boolean hasFileToSend() {
return fileToSend != null;
}
}