Skip to content

Commit

Permalink
Adding logs and fixing user info in auth flow
Browse files Browse the repository at this point in the history
  • Loading branch information
karntrehan committed Sep 26, 2024
1 parent 6781c9d commit 2d85241
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cogs/userInteractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ async def list_badges(self, ctx):
async def update_contributors(self):
print("update_contributors running")
contributors = SupabaseClient().read_all("contributors_registration")
print("Contributor lenght: "+len(contributors))
guild = await self.bot.fetch_guild(os.getenv("SERVER_ID"))
contributor_role = guild.get_role(VERIFIED_CONTRIBUTOR_ROLE_ID)
count = 1
Expand Down
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ async def on_submit(self, interaction: discord.Interaction):
if verifiedContributorRoleID in [role.id for role in user.roles]:
return
else:

async def hasIntroduced():
print("Checking hasIntroduced...")
try:
Expand Down

0 comments on commit 2d85241

Please sign in to comment.