Prevent instantiating utility classes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-16 07:07:42 +01:00
parent ccf69a2903
commit 980cf5eef3
18 changed files with 73 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ public class CommandUtil
private static final Logger LOGGER = LoggerFactory.getLogger(CommandUtil.class);
private CommandUtil() {
throw new IllegalStateException("Utility class");
}
/**
* Function to delete a message when a user clicks the "delete" button attached to that message.
* This will check in the database if that user ran the command originally.