Fix expired coinflip channel id bug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-21 11:19:23 +01:00
parent f73b489844
commit 083fef3911
2 changed files with 6 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ public class CoinFlipCommand
private void trackAndRestrict(Message replyMessage, User user)
{
String replyMessageId = replyMessage.getId();
String replyChannelId = replyMessage.getId();
String replyChannelId = replyMessage.getChannel().getId();
String replyGuildId = replyMessage.getGuild().getId();
String userId = user.getId();