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 RegisterVerificationChannel(commands.Cog, name="Register"):
"""
# respond to the message
channel_id = ctx.channel.id
guild_data = highscores_data[ctx.guild.id]
guild_data = highscores_data[str(ctx.guild.id)]
if registration_type == "verify":
await ctx.send(f"Registered <#{channel_id}> as channel to post verifications in.")