Guild id is a string in highscores data json.

This commit is contained in:
alwayscompiling
2022-07-22 23:39:51 -04:00
parent be29194a57
commit 5d3a1568a2
5 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class Score(commands.Cog, name="Score"):
This command still works if you prefer to use it over the ui.
```
"""
guild_data = highscores_data[ctx.guild.id]
guild_data = highscores_data[str(ctx.guild.id)]
verification_channel_id = guild_data["verification_channel_id"]
channel = ctx.guild.get_channel(verification_channel_id)