silly resource leak nick
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m9s

This commit is contained in:
Rainnny 2024-07-04 14:50:45 +00:00
parent c78033f409
commit 0c6f3a0b4c

@ -106,7 +106,7 @@ public class MovieSubCommand extends BatCommand implements EventListener {
@Override @Override
public void onButtonInteraction(BatGuild guild, @NonNull BatUser user, @NonNull ButtonInteractionEvent event) { public void onButtonInteraction(BatGuild guild, @NonNull BatUser user, @NonNull ButtonInteractionEvent event) {
Map<String, String> params = userCommands.get(user.getId()); Map<String, String> params = userCommands.remove(user.getId());
if (params == null) { if (params == null) {
return; return;
} }