From fed1aaa91bf78915438e3423ff8cef94e6fb7074 Mon Sep 17 00:00:00 2001 From: skyjoshua Date: Wed, 4 Mar 2026 01:42:55 +0000 Subject: [PATCH] added minecraft ip command for ValourSMP --- Program.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 0d03b9a..4e2254c 100644 --- a/Program.cs +++ b/Program.cs @@ -145,7 +145,9 @@ client.MessageService.MessageReceived += async (message) => - `s/joincode - Sends a link to a github that you can use to make your bot join your planet.` - `s/cmds - Shows this list` - `s/usercount - Shows the user count of Valour` - - `s/devcentral - Sends the invite link to the Dev Central Planet`"); + - `s/devcentral - Sends the invite link to the Dev Central Planet` + - `s/mc - Sends ValourSMP IP` + "); }; if (Utils.ContainsAny(content, $"{prefix}usercount")) @@ -160,6 +162,11 @@ client.MessageService.MessageReceived += async (message) => await Utils.SendReplyAsync(channelCache, channelId, @$"{pingMember} you can join the Dev Central (ID: 42439954653511681) planet here: https://app.valour.gg/I/k2tz9c4i"); } + if (Utils.ContainsAny(content, $"{prefix}mc")) + { + await Utils.SendReplyAsync(channelCache, channelId, @$"{pingMember} you can join the ValourSMP Minecraft Server by using this ip: valour.sxsc.xyz"); + } + if (Utils.ContainsAny(content, $"{prefix}invite")) { if(message.AuthorUserId != ownerId) return;