From 4ac370ec2add0702890b54a9d8938beeb38c20a1 Mon Sep 17 00:00:00 2001 From: Chew Date: Sun, 30 Jun 2024 09:37:00 -0500 Subject: [PATCH] allow owner id to be set in properties --- src/main/java/pw/chew/mlb/MLBBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pw/chew/mlb/MLBBot.java b/src/main/java/pw/chew/mlb/MLBBot.java index bb72add..488a813 100644 --- a/src/main/java/pw/chew/mlb/MLBBot.java +++ b/src/main/java/pw/chew/mlb/MLBBot.java @@ -53,7 +53,7 @@ public static void main(String[] args) throws IOException { // Set the client settings client.setActivity(Activity.watching("the 2024 season!")); - client.setOwnerId("476488167042580481"); + client.setOwnerId(prop.getProperty("userId", "476488167042580481")); client.setPrefix("woody!"); client.useHelpBuilder(false);