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

Use minearchy.com

This commit is contained in:
RGBCube 2022-12-30 21:08:05 +03:00
parent 8a5c8a16a2
commit 87b6dd1c21
2 changed files with 8 additions and 8 deletions

View file

@ -31,15 +31,15 @@ class MinearchyBot(CommandsBot):
self.webhook_url = webhook_url self.webhook_url = webhook_url
self.server = GeyserServer( self.server = GeyserServer(
java_ip="play.landsofminearchy.com", java_ip="play.minearchy.com",
bedrock_ip="bedrock.landsofminearchy.com", bedrock_ip="bedrock.minearchy.com",
) )
super().__init__( super().__init__(
command_prefix=when_mentioned_or("="), command_prefix=when_mentioned_or("="),
strip_after_prefix=True, strip_after_prefix=True,
case_insensitive=True, case_insensitive=True,
status=Game("on play.landsofminearchy.com"), status=Game("on play.minearchy.com"),
owner_ids={512640455834337290, 160087716757897216}, owner_ids={512640455834337290, 160087716757897216},
allowed_mentions=AllowedMentions.none(), allowed_mentions=AllowedMentions.none(),
max_messages=100, max_messages=100,

View file

@ -76,7 +76,7 @@ class MinecraftServer(
view.add_item( view.add_item(
Button( Button(
label="Go to the wiki!", label="Go to the wiki!",
url="https://landsofminearchy.com/wiki", url="https://minearchy.com/wiki",
) )
) )
await ctx.reply(view=view) await ctx.reply(view=view)
@ -90,7 +90,7 @@ class MinecraftServer(
view.add_item( view.add_item(
Button( Button(
label="Go to the store!", label="Go to the store!",
url="https://landsofminearchy.com/store", url="https://minearchy.com/store",
) )
) )
await ctx.reply(view=view) await ctx.reply(view=view)
@ -105,7 +105,7 @@ class MinecraftServer(
view.add_item( view.add_item(
Button( Button(
label="Go to the forum!", label="Go to the forum!",
url="https://landsofminearchy.com/forum", url="https://minearchy.com/forum",
) )
) )
await ctx.reply(view=view) await ctx.reply(view=view)
@ -120,7 +120,7 @@ class MinecraftServer(
view.add_item( view.add_item(
Button( Button(
label="Go to the dynmap!", label="Go to the dynmap!",
url="https://landsofminearchy.com/dynmap", url="https://minearchy.com/dynmap",
) )
) )
await ctx.reply( await ctx.reply(
@ -136,7 +136,7 @@ class MinecraftServer(
view.add_item( view.add_item(
Button( Button(
label="Vote for the Minecraft server!", label="Vote for the Minecraft server!",
url="https://landsofminearchy.com/vote", url="https://minearchy.com/vote",
) )
) )
await ctx.reply(view=view) await ctx.reply(view=view)