1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-28 09:27:44 +00:00

Fix project name and minecraft version

This commit is contained in:
RGBCube 2024-05-21 22:15:55 +03:00
parent 462fa36121
commit d62a52af40
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ class MinecraftServer(
async def ip(self, ctx: Context) -> None: async def ip(self, ctx: Context) -> None:
await ctx.reply( await ctx.reply(
f"Java edition IP: `{self.bot.server.java.ip}`\nBedrock edition IP:" f"Java edition IP: `{self.bot.server.java.ip}`\nBedrock edition IP:"
f" `{self.bot.server.bedrock.ip}`\nNote: Minecraft 1.19 is required to join." f" `{self.bot.server.bedrock.ip}`\nNote: Minecraft 1.20.x is required to join."
) )
@ip.command( @ip.command(
@ -38,7 +38,7 @@ class MinecraftServer(
async def java(self, ctx: Context) -> None: async def java(self, ctx: Context) -> None:
await ctx.reply( await ctx.reply(
"The IP to connect on Minecraft Java edition is" "The IP to connect on Minecraft Java edition is"
f" `{self.bot.server.java.ip}`\nNote: Minecraft 1.19 is required to join." f" `{self.bot.server.java.ip}`\nNote: Minecraft 1.20.x is required to join."
) )
@ip.command( @ip.command(
@ -48,7 +48,7 @@ class MinecraftServer(
async def bedrock(self, ctx: Context) -> None: async def bedrock(self, ctx: Context) -> None:
await ctx.reply( await ctx.reply(
"The IP to connect on Minecraft Bedrock edition is" "The IP to connect on Minecraft Bedrock edition is"
f" `{self.bot.server.bedrock.ip}`\nNote: Minecraft 1.19" f" `{self.bot.server.bedrock.ip}`\nNote: Minecraft 1.20.x"
" is required to join." " is required to join."
) )

View file

@ -1,5 +1,5 @@
[tool.poetry] [tool.poetry]
name = "MinearchyBot" name = "minearchy_bot"
version = "1.0.0" version = "1.0.0"
description = "A simple Discord bot for the Lands of Minearchy Discord server." description = "A simple Discord bot for the Lands of Minearchy Discord server."
authors = ["RGBCube", "The Lands of Minearchy team"] authors = ["RGBCube", "The Lands of Minearchy team"]