1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 08:57:46 +00:00

add more detail to ip command

This commit is contained in:
RGBCube 2022-06-08 18:16:59 +00:00
parent 3768869020
commit 8c8a996cb8
2 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ class MinecraftServer(
) )
async def ip(self, ctx: commands.Context, /) -> None: async def ip(self, ctx: commands.Context, /) -> None:
await ctx.reply( 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( @ip.command(
@ -31,7 +31,7 @@ class MinecraftServer(
) )
async def java(self, ctx: commands.Context, /) -> None: async def java(self, ctx: commands.Context, /) -> None:
await ctx.reply( 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( @ip.command(
@ -40,7 +40,7 @@ class MinecraftServer(
) )
async def bedrock(self, ctx: commands.Context, /) -> None: async def bedrock(self, ctx: commands.Context, /) -> None:
await ctx.reply( 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( @commands.command(

View file

@ -2,6 +2,6 @@
"BEDROCK_IP": "bedrock.landsofminearchy.com", "BEDROCK_IP": "bedrock.landsofminearchy.com",
"JAVA_IP": "play.landsofminearchy.com", "JAVA_IP": "play.landsofminearchy.com",
"BOT_PREFIX": "=", "BOT_PREFIX": "=",
"BOT_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxx(you can also store this in ENV)", "BOT_TOKEN": "XXX(ENV works too)",
"WEBHOOK_URL": "xxxxxxxxxxxxxxxxxxxxxxx(you can also store this in ENV)" "WEBHOOK_URL": "XXX(ENV works too)"
} }