diff --git a/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java b/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java index cf08dfb..b3555f7 100644 --- a/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java +++ b/src/main/java/cc/fascinated/bat/features/welcomer/WelcomerProfile.java @@ -133,7 +133,7 @@ public class WelcomerProfile extends Serializable { ); } if (channel != null) { - document.put("channelId", channel.getIdLong()); + document.put("channelId", channel.getId()); } return document; }