Skip to content

Commit

Permalink
Refactored the Bot Class
Browse files Browse the repository at this point in the history
  • Loading branch information
beanbeanjuice committed Jun 21, 2024
1 parent 55db67e commit 8aa59ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/com/beanbeanjuice/cafebot/Bot.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import net.dv8tion.jda.api.utils.ChunkingFilter;
import net.dv8tion.jda.api.utils.MemberCachePolicy;
import net.dv8tion.jda.api.utils.cache.CacheFlag;
import org.jetbrains.annotations.NotNull;

import javax.security.auth.login.LoginException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void handle(@NotNull SlashCommandInteractionEvent event) {

switch (string) {
case "ai" -> {
Bot.getAIResponseListener().refreshMaps();
Bot.getAiResponseListener().refreshMaps();
event.getHook().sendMessageEmbeds(Helper.successEmbed(
"AI Responses Refreshed",
"The AI responses have been successfully refreshed!"
Expand Down

0 comments on commit 8aa59ef

Please sign in to comment.