Skip to content

Commit

Permalink
Update CommandHandler.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Swetzell authored Nov 7, 2024
1 parent 7f961d6 commit 27a6bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/swetzell/comandos/CommandHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class CommandHandler {

public static void handleCommand(MessageReceivedEvent event, String message) throws GeneralSecurityException, IOException {
if (message.equalsIgnoreCase("!hola")) {
event.getChannel().sendMessage("¡Hola! Soy tu bot de Discord en Java.").queue();
event.getChannel().sendMessage("¡Hola! Soy SpogeBot!").queue();
} else if (message.startsWith("!play ")) {
String url = message.substring(6);
PlayerManger.getInstance().loadAndPlay(event.getGuild(), url);
Expand Down

0 comments on commit 27a6bde

Please sign in to comment.