I don't know anymore

This commit is contained in:
AllfatherHatt 2025-02-24 11:54:00 +01:00
parent 2e4970b6dd
commit 5f454a0d58

View File

@ -71,8 +71,7 @@ class ReginaldCog(commands.Cog):
if role.id not in allowed_roles:
allowed_roles.append(role.id)
await self.config.guild(ctx.guild).allowed_roles.set(allowed_roles) # Save change
print(f"DEBUG: Role {role.id} added. Current allowed_roles: {allowed_roles}") # ✅ Print Debug Info
await ctx.send(f"✅ Role `{role.name}` has been granted access to interact with Reginald.")
await ctx.send(f"DEBUG: Role {role.id} added. Current allowed_roles: {allowed_roles}")
else:
await ctx.send(f"⚠️ Role `{role.name}` already has access.")