From 13f80038598145bdfcf97c47fdb8b7569eaa63c7 Mon Sep 17 00:00:00 2001 From: Kevin Rode Date: Thu, 7 Jan 2021 20:34:15 -0500 Subject: [PATCH] Debugging for #10 --- the_prestige.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index 17da3af..006ddf6 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -103,7 +103,8 @@ class ShowPlayerCommand(Command): description = "Displays any name's stars in a nice discord embed, there's a limit of 70 characters. That should be *plenty*. Note: if you want to lookup a lot of different players you can do it on onomancer here instead of spamming this command a bunch and clogging up discord: " async def execute(self, msg, command): - player_name = json.loads(ono.get_stats(command.split(" ",1)[1])) + print(ono.get_stats) + #player_name = json.loads(ono.get_stats(command.split(" ",1)[1])) await msg.channel.send(embed=build_star_embed(player_name)) class StartGameCommand(Command):