From 8c8a996cb8a45c758ca4a30bcc491e09f932ddc2 Mon Sep 17 00:00:00 2001 From: RGBCube <78925721+RGBCube@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:16:59 +0000 Subject: [PATCH] add more detail to ip command --- cogs/mc_server.py | 6 +++--- config.example.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cogs/mc_server.py b/cogs/mc_server.py index 47f4ab7..aa365b3 100644 --- a/cogs/mc_server.py +++ b/cogs/mc_server.py @@ -23,7 +23,7 @@ class MinecraftServer( ) async def ip(self, ctx: commands.Context, /) -> None: await ctx.reply( - f"Java edition IP: `{self.bot.mc_server.ip}`\nBedrock edition IP: `{self.bot.mc_server.bedrock_ip}`" + f"Java edition IP: `{self.bot.mc_server.ip}`\nBedrock edition IP: `{self.bot.mc_server.bedrock_ip}` (Port: 19132)\nNote: Minecraft 1.18+ is required tı join." ) @ip.command( @@ -31,7 +31,7 @@ class MinecraftServer( ) async def java(self, ctx: commands.Context, /) -> None: await ctx.reply( - f"The IP to connect on Minecraft Java edition is `{self.bot.mc_server.ip}`" + f"The IP to connect on Minecraft Java edition is `{self.bot.mc_server.ip}`\nNote: Minecraft 1.18+ is required tı join." ) @ip.command( @@ -40,7 +40,7 @@ class MinecraftServer( ) async def bedrock(self, ctx: commands.Context, /) -> None: await ctx.reply( - f"The IP to connect on Minecraft Bava edition is `{self.bot.mc_server.ip}`" + f"The IP to connect on Minecraft Bava edition is `{self.bot.mc_server.ip}` (Port: 19132)\nNote: Minecraft 1.18+ is required tı join." ) @commands.command( diff --git a/config.example.json b/config.example.json index d3a3525..a412796 100644 --- a/config.example.json +++ b/config.example.json @@ -2,6 +2,6 @@ "BEDROCK_IP": "bedrock.landsofminearchy.com", "JAVA_IP": "play.landsofminearchy.com", "BOT_PREFIX": "=", - "BOT_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxx(you can also store this in ENV)", - "WEBHOOK_URL": "xxxxxxxxxxxxxxxxxxxxxxx(you can also store this in ENV)" + "BOT_TOKEN": "XXX(ENV works too)", + "WEBHOOK_URL": "XXX(ENV works too)" } \ No newline at end of file