Skip to content

Commit

Permalink
Update integrations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsbirb committed Feb 6, 2025
1 parent b69727e commit 9bce7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cogs/Configuration/Components/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ async def integrationsEmbed(interaction: discord.Interaction, embed: discord.Emb
config = await Configuration.find_one({"_id": interaction.guild.id})

ERM = await integrations.find_one(
{"server": str(interaction.guild.id), "erm": {"$exists": True}}
{"server": int(interaction.guild.id), "erm": {"$exists": True}}
)
Groups = config.get("groups", {}).get("id", None) if config else None
embed.add_field(
Expand Down

0 comments on commit 9bce7e3

Please sign in to comment.