development #1

Merged
AllfatherHatt merged 157 commits from development into master 2025-06-14 15:47:26 +02:00
Showing only changes of commit 5f454a0d58 - Show all commits

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.")