doing more testing
This commit is contained in:
parent
047c79459d
commit
43c69180c4
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ class Pterodactyl(commands.Cog):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
self.config = Config.get_conf(self, identifier=457581387213637448123567)
|
self.config = Config.get_conf(self, identifier=457581387213637448123567)
|
||||||
self.config.register_guild(
|
self.config.register_guild(
|
||||||
base_url="mc.bloom.host",
|
base_url=None,
|
||||||
api_key=None,
|
api_key=None,
|
||||||
server_id=None
|
server_id=None
|
||||||
)
|
)
|
||||||
|
@ -34,6 +34,6 @@ class Pterodactyl(commands.Cog):
|
||||||
else:
|
else:
|
||||||
url = await self.get_url(ctx)
|
url = await self.get_url(ctx)
|
||||||
except LookupError as e:
|
except LookupError as e:
|
||||||
await ctx.send(f"Something went wrong.\n{e}")
|
await ctx.send(f"Something went wrong.\nError: `{e}`")
|
||||||
return
|
return
|
||||||
await ctx.send(url)
|
await ctx.send(url)
|
||||||
|
|
Reference in a new issue