From 4d888d68b9d19a0a5c891c2a038e93c44ed08c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Mon, 19 Dec 2022 21:00:25 +0100 Subject: [PATCH] Make it send a message instead of responding to 8ball --- .../beatrice/hidekobot/commands/message/MagicBallCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/message/MagicBallCommand.java b/src/main/java/wtf/beatrice/hidekobot/commands/message/MagicBallCommand.java index 3581aa0..8b70cf0 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/message/MagicBallCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/message/MagicBallCommand.java @@ -48,6 +48,6 @@ public class MagicBallCommand implements MessageCommand String question = questionBuilder.toString(); - event.getMessage().replyEmbeds(MagicBall.generateEmbed(question, event.getAuthor())).queue(); + event.getChannel().sendMessageEmbeds(MagicBall.generateEmbed(question, event.getAuthor())).queue(); } }