doing more testing

This commit is contained in:
Seaswimmer 2023-07-14 11:17:38 -04:00
parent 047c79459d
commit 43c69180c4
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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)