Disabled info command
This commit is contained in:
parent
b59f122957
commit
f5010a9a51
11
cogs/info.py
11
cogs/info.py
@ -2,6 +2,7 @@ import discord
|
||||
from discord.ext import commands
|
||||
from mcstatus import MinecraftServer
|
||||
|
||||
|
||||
class ServerInfo(commands.Cog):
|
||||
def __init__(self, client):
|
||||
self.client = client
|
||||
@ -17,12 +18,14 @@ class ServerInfo(commands.Cog):
|
||||
embed.set_author(name="Info")
|
||||
embed.colour = discord.Colour.orange()
|
||||
embed.add_field(name="Ip", value=f"play.worldcraft.us", inline=False)
|
||||
embed.add_field(name="Dynmap", value=f"https://map.worldcraft.us/", inline=False)
|
||||
embed.add_field(name="Online", value=f"There are **{server.status().players.online}** players online!", inline=False)
|
||||
embed.add_field(
|
||||
name="Dynmap", value=f"https://map.worldcraft.us/", inline=False)
|
||||
embed.add_field(
|
||||
name="Online", value=f"There are **{server.status().players.online}** players online!", inline=False)
|
||||
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
|
||||
|
||||
def setup(client):
|
||||
client.add_cog(ServerInfo(client))
|
||||
# client.add_cog(ServerInfo(client))
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user