debugging

This commit is contained in:
Dustin Pianalto 2019-12-16 19:54:27 -09:00
parent 5a7c68bdcb
commit 4afd44e4be

View File

@ -284,6 +284,7 @@ class Rcon(commands.Cog):
f'{self.bot.api_base}/rcon/{ctx.guild.id}/{server_name}/listplayers', f'{self.bot.api_base}/rcon/{ctx.guild.id}/{server_name}/listplayers',
headers=self.bot.auth_header headers=self.bot.auth_header
) )
rcon_log.info(resp.status)
if resp.status == 200 or resp.status == 204: if resp.status == 200 or resp.status == 204:
message = '\n'.join(await resp.json()) message = '\n'.join(await resp.json())
await ctx.channel.trigger_typing() await ctx.channel.trigger_typing()