Changed server ports
This commit is contained in:
@@ -9,7 +9,7 @@ class ServerStatus(commands.Cog):
|
||||
|
||||
@commands.group(name="Ping", aliases=["Status"], case_insensitive=True, invoke_without_command=True)
|
||||
async def ping(self, ctx):
|
||||
servers = {"Earth": "25568", "Moon": "25567"}
|
||||
servers = {"Earth": "25201", "Moon": "25003"}
|
||||
|
||||
# List of colours for the amount of servers that are online
|
||||
upColours = [discord.Colour.red(), discord.Colour.orange(), discord.Colour.green()]
|
||||
@@ -36,12 +36,12 @@ class ServerStatus(commands.Cog):
|
||||
|
||||
@ping.command(name="Earth", aliases=["E", "S1", "Server1"])
|
||||
async def earth(self, ctx):
|
||||
latencyEmbed = self.serverLatencyEmbed("Earth", "25568")
|
||||
latencyEmbed = self.serverLatencyEmbed("Earth", "25201")
|
||||
await ctx.send(embed=latencyEmbed)
|
||||
|
||||
@ping.command(name="Moon", aliases=["M", "S2", "Server2"])
|
||||
async def moon(self, ctx):
|
||||
latencyEmbed = self.serverLatencyEmbed("Moon", "25567")
|
||||
latencyEmbed = self.serverLatencyEmbed("Moon", "25003")
|
||||
await ctx.send(embed=latencyEmbed)
|
||||
|
||||
# Latency for only 1 server, avoid code duplication
|
||||
@@ -70,4 +70,4 @@ class ServerStatus(commands.Cog):
|
||||
|
||||
|
||||
def setup(client):
|
||||
client.add_cog(ServerStatus(client))
|
||||
client.add_cog(ServerStatus(client))
|
||||
|
||||
Reference in New Issue
Block a user