Forgot to pass permission dict as kwargs.
@@ -375,7 +375,7 @@ class SlashCommand:
new_perms = permissions_map[guild_id]
print(existing_perms)
print(new_perms)
- if model.PermissionsData(existing_perms) == model.PermissionsData(new_perms):
+ if model.PermissionsData(**existing_perms) == model.PermissionsData(**new_perms):
print("repeated")
continue
await self.req.put_command_permissions(guild_id, new_perms)
